dbertoni 2002/08/11 20:58:01 Modified: c/src/XalanExe XalanExe.cpp Log: Added more version information. Don't use std::ofstream, as performance is not always good. Revision Changes Path 1.10 +7 -8 xml-xalan/c/src/XalanExe/XalanExe.cpp Index: XalanExe.cpp =================================================================== RCS file: /home/cvs/xml-xalan/c/src/XalanExe/XalanExe.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- XalanExe.cpp 6 Aug 2002 05:54:10 -0000 1.9 +++ XalanExe.cpp 12 Aug 2002 03:58:01 -0000 1.10 @@ -2,7 +2,7 @@ * The Apache Software License, Version 1.1 * * - * Copyright (c) 2001 The Apache Software Foundation. All rights + * Copyright (c) 2001-2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -61,10 +61,8 @@ #if defined(XALAN_OLD_STREAM_HEADERS) #include <iostream.h> -#include <fstream.h> #else #include <iostream> -#include <fstream> #endif @@ -98,7 +96,6 @@ using std::cerr; using std::cout; using std::endl; -using std::ofstream; #endif @@ -107,7 +104,11 @@ Usage() { cerr << endl - << "Xalan version 1.3" + << "Xalan version " + << XALAN_FULLVERSIONDOT + << endl + << "Xerces version " + << XERCES_FULLVERSIONDOT << endl << "Usage: Xalan [options] source stylesheet" << endl @@ -370,12 +371,10 @@ if (theParams.m_outFileName != 0) { - ofstream theOutputStream(theParams.m_outFileName); - theResult = theTransformer.transform( theParams.m_inFileName, theParams.m_xslFileName, - theOutputStream); + theParams.m_outFileName); } else {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]