projects
/
tatoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4cd6d4d
)
Update the output of the reference implementation to the new format.
refactor/remake
author
Kim Nguyễn
<kn@lri.fr>
Wed, 24 Jul 2013 21:52:16 +0000
(23:52 +0200)
committer
Kim Nguyễn
<kn@lri.fr>
Wed, 24 Jul 2013 21:52:16 +0000
(23:52 +0200)
tools/XPathEval.java
patch
|
blob
|
history
diff --git
a/tools/XPathEval.java
b/tools/XPathEval.java
index
d7dc54b
..
8ce8db1
100644
(file)
--- a/
tools/XPathEval.java
+++ b/
tools/XPathEval.java
@@
-22,7
+22,7
@@
public class XPathEval {
serializer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
StreamResult o = new StreamResult(System.out);
startTime = System.nanoTime();
serializer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
StreamResult o = new StreamResult(System.out);
startTime = System.nanoTime();
- System.out.println("<xml_result>");
+ System.out.println("<xml_result
num=\"1\"
>");
for(int i = 0; i < nodes.getLength(); i++){
Node n = nodes.item(i);
switch (n.getNodeType()) {
for(int i = 0; i < nodes.getLength(); i++){
Node n = nodes.item(i);
switch (n.getNodeType()) {