dleslie 01/02/13 10:33:54
Modified: c/xdocs/sources/xalan usagepatterns.xml
Log:
Added processing for <source> elements, i.e., code.
Revision Changes Path
1.18 +6 -2 xml-xalan/c/xdocs/sources/xalan/usagepatterns.xml
Index: usagepatterns.xml
===================================================================
RCS file: /home/cvs/xml-xalan/c/xdocs/sources/xalan/usagepatterns.xml,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- usagepatterns.xml 2001/02/13 15:55:23 1.17
+++ usagepatterns.xml 2001/02/13 18:33:53 1.18
@@ -113,11 +113,15 @@
an integer code, 0 for success. If an error occurs, you can use the
getLastError() method to return a pointer to the error message.
For the details, see XalanTransormer/XalanTransformer.hpp in the source
tree. For an example, see the
<link idref="samples" anchor="xalantransform">XalanTransform</link>
sample.</p>
-
+<p>Transform an XML file to an output file. The XML file contains a
stylesheeet processing instruction.</p>
+<source>int
+transform(
+const char* xmlInFile,
+const char* xmlOutFile);</source>
<p>Transform from files to an output stream:</p>
<source>int
transform(const char* xmlInFile,
-* const char* xslFile,
+ const char* xslFile,
ostream& resultOutStream);</source>
<p>Transform from input streams to an output stream:</p>
<source>int