dbertoni 01/06/21 08:38:01
Modified: c/samples/UseStylesheetParam UseStylesheetParam.cpp
Log:
Changes for new XalanTransformer interfaces.
Revision Changes Path
1.15 +5 -5 xml-xalan/c/samples/UseStylesheetParam/UseStylesheetParam.cpp
Index: UseStylesheetParam.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/samples/UseStylesheetParam/UseStylesheetParam.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- UseStylesheetParam.cpp 2001/06/18 22:15:26 1.14
+++ UseStylesheetParam.cpp 2001/06/21 15:37:59 1.15
@@ -21,12 +21,12 @@
int
main(
- int argc,
- const char* argv [])
+ int argc,
+ const char* argv[])
{
#if !defined(XALAN_NO_NAMESPACES)
- using std::cerr;
- using std::endl;
+ using std::cerr;
+ using std::endl;
#endif
int theResult = 0;
@@ -58,7 +58,7 @@
// Our input files...The assumption is that the executable
will be run
// from same directory as the input files.
theResult = theXalanTransformer.transform("foo.xml",
"foo.xsl", "foo.out");
-
+
if(theResult != 0)
{
cerr << "UseStylesheetParam Error: \n" <<
theXalanTransformer.getLastError()
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]