You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2002/07/15 17:44:18 UTC

cvs commit: xml-xerces/c/samples/DOMPrint DOMPrint.cpp

peiyongz    2002/07/15 08:44:18

  Modified:    c/samples/DOMPrint DOMPrint.cpp
  Log:
  use XMLFormatTarget instead of StdOutFormatTarget
  
  Revision  Changes    Path
  1.48      +2 -2      xml-xerces/c/samples/DOMPrint/DOMPrint.cpp
  
  Index: DOMPrint.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/samples/DOMPrint/DOMPrint.cpp,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- DOMPrint.cpp	10 Jun 2002 15:59:26 -0000	1.47
  +++ DOMPrint.cpp	15 Jul 2002 15:44:18 -0000	1.48
  @@ -488,7 +488,7 @@
   			// StdOutFormatTarget prints the resultant XML stream
   			// to stdout once it receives any thing from the serializer.
   			//
  -			StdOutFormatTarget *myFormTarget = new StdOutFormatTarget();
  +			XMLFormatTarget *myFormTarget = new StdOutFormatTarget();
   
   			// get the DOM representation
   			DOMNode                     *doc = parser->getDocument();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org