You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dl...@locus.apache.org on 2000/04/28 22:16:08 UTC

cvs commit: xml-xalan/c/samples/SimpleTransform SimpleTransform.cpp

dleslie     00/04/28 13:16:08

  Modified:    c/samples/SimpleTransform SimpleTransform.cpp
  Log:
  Removed file protocol from refs to input files (assumed to be
  in the current directory).
  
  Revision  Changes    Path
  1.2       +4 -5      xml-xalan/c/samples/SimpleTransform/SimpleTransform.cpp
  
  Index: SimpleTransform.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/SimpleTransform/SimpleTransform.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleTransform.cpp	2000/04/21 20:58:35	1.1
  +++ SimpleTransform.cpp	2000/04/28 20:16:07	1.2
  @@ -100,11 +100,10 @@
   						theXPathSupport,
   						theXObjectFactory);
   
  -			// Our input files...
  -			// WARNING!!! You may need to modify these absolute paths depending on where
  -			// you've put the Xalan sources.
  -			const DOMString		theXMLFileName("file:///xml-xalan/c/Samples/SimpleTransform/foo.xml");
  -			const DOMString		theXSLFileName("file:///xml-xalan/c/Samples/SimpleTransform/foo.xsl");
  +			// Our input files...The assumption is that the executable will be run
  +			// from same directory as the input files.
  +			const DOMString		theXMLFileName("foo.xml");
  +			const DOMString		theXSLFileName("foo.xsl");
   
   			// Our input sources...
   			XSLTInputSource		theInputSource(c_wstr(theXMLFileName));