dleslie 01/07/03 07:26:17
Modified: java/samples/trax Examples.java
Log:
Corrected comment and indicate (for user) where the output is.
Revision Changes Path
1.10 +2 -2 xml-xalan/java/samples/trax/Examples.java
Index: Examples.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/samples/trax/Examples.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Examples.java 2001/03/07 18:22:50 1.9
+++ Examples.java 2001/07/03 14:26:10 1.10
@@ -120,7 +120,7 @@
handleException(ex);
}
- System.out.println("\n\n==== exampleSimple2 ====");
+ System.out.println("\n\n==== exampleSimple2 (see foo.out) ====");
try {
exampleSimple2("xml/foo.xml", "xsl/foo.xsl");
} catch( Exception ex ) {
@@ -268,7 +268,7 @@
Transformer transformer
= tfactory.newTransformer(new StreamSource(xslID));
- // Transform the source XML to System.out.
+ // Transform the source XML to foo.out.
transformer.transform( new StreamSource(new File(sourceID)),
new StreamResult(new File("foo.out")));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]