xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rah...@locus.apache.org
Subject cvs commit: xml-site/sources/xerces-c samples.xml
Date Wed, 19 Jan 2000 00:09:46 GMT
rahulj      00/01/18 16:09:45

  Modified:    sources/xerces-c samples.xml
  Log:
  Added documentation for the new sample 'CreateDOMDocument'.
  
  Revision  Changes    Path
  1.6       +48 -0     xml-site/sources/xerces-c/samples.xml
  
  Index: samples.xml
  ===================================================================
  RCS file: /home/cvs/xml-site/sources/xerces-c/samples.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- samples.xml	2000/01/12 20:08:56	1.5
  +++ samples.xml	2000/01/19 00:09:45	1.6
  @@ -631,6 +631,54 @@
       </s2>
   
   
  +    <s2 title="CreateDOMDocument">
  +        <p> CreateDOMDocument, illustrates how you can create a DOM tree in 
  +            memory from scratch. It then reports the elements in the tree that
  +            was just created.</p>
  +
  +        <s3 title="Building on Windows">
  +        <p>Load the &XercesCInstallDir;-win32\samples\Projects\Win32\VC6\samples.dsw
  +        Microsoft Visual C++ workspace inside your MSVC IDE. Then
  +        build the project marked DOMCount.
  +        </p>
  +        </s3>
  +        <s3 title="Building on UNIX">
  +        <source>
  +        cd &XercesCInstallDir;-linux/samples
  +        ./runConfigure -p&lt;platform&gt; -c&lt;C_compiler&gt; -x&lt;C++_compiler&gt;
  +        cd CreateDOMDocument
  +        gmake
  +        </source>
  +        <p>
  +        This will create the object files in the current directory and the executable named
  +        CreateDOMDocument in ' &XercesCInstallDir;-linux/bin' directory.</p>
  +
  +        <p>To delete all the generated object files and executables, type</p>
  +        <source>
  +        gmake clean
  +        </source>
  +        </s3>
  +
  +        <s3 title="Running CreateDOMDocument">
  +
  +          <p>The CreateDOMDocument sample illustrates how you can create a DOM tree
  +             in memory from scratch. To run CreateDOMDocument, enter the following</p>
  +          <source>
  +               CreateDOMDocument
  +          </source>
  +          <p>Here is a sample output from CreateDOMDocument</p>
  +          <source>
  +          cd &XercesCInstallDir;-linux/samples/data
  +          CreateDOMDocument
  +          The tree just created contains 37 elements.
  +          </source>
  +
  +        </s3>
  +
  +    </s2>
  +
  +
  +
       <s2 title="EnumVal">
           <p>Shows how to enumerate the markup decls in a DTD Validator.
           </p>
  
  
  

Mime
View raw message