xerces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cargi...@apache.org
Subject cvs commit: xml-xerces/c/doc psviwriter.xml scmprint.xml
Date Thu, 12 Feb 2004 19:15:27 GMT
cargilld    2004/02/12 11:15:27

  Added:       c/doc    psviwriter.xml scmprint.xml
  Log:
  Misc documentation updates.
  
  Revision  Changes    Path
  1.1                  xml-xerces/c/doc/psviwriter.xml
  
  Index: psviwriter.xml
  ===================================================================
  <?xml version="1.0" standalone="no"?>
  <!DOCTYPE s1 SYSTEM "sbk:/style/dtd/document.dtd">
  
  <s1 title="Sample: PSVIWriter">
  
      <s2 title="PSVIWriter">
          <p>PSVIWriter shows how to access the PSVI and Schema Component Model 
             information for the parsed document.</p>
  
          <s3 title="Running PSVIWriter">
            <p>This program parses the specified XML file, then exposes
              the PSVI and Schema Component Model information.</p>
  <source>
  Usage:
      PSVIWriter [options] &lt;XML file | List file&gt;
  
  This program invokes the SAX2XMLReaderImpl, and then exposes the
  underlying PSVI of each parsed XML file, using SAX2 API.
  
  Options:
      -f          Enable full schema constraint checking processing. Defaults to off.
      -o=xxx      Output PSVI to file xxx (default is stdout)
      -e=xxx      Output errors to file xxx (default is stdout)
      -u=xxx      Handle unrepresentable chars [fail | rep | ref*].
      -x=XXX      Use a particular encoding for output (UTF8*).
      -l          Indicate the input file is a List File that has a list of xml files.
                  Default to off (Input file is an XML file).
      -?          Show this help.
  
    * = Default if not provided explicitly.
  </source>
            <p>Here is some sample output from PSVWriter (as the output is verbose
               it has been truncated)</p>
  <source>cd &XercesCInstallDir;-linux/samples/data
  PSVIWriter personal.xml
  
  &lt;document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
               xmlns:psv="http://apache.org/xml/2001/PSVInfosetExtension" 
               xmlns="http://www.w3.org/2001/05/XMLInfoset"&gt;
  	&lt;characterEncodingScheme&gt;UTF8&lt;/characterEncodingScheme&gt;
  	&lt;standalone xsi:nil="true"/&gt;
  	&lt;version&gt;1.0&lt;/version&gt;
  	&lt;children&gt;
  		&lt;comment&gt;
  			&lt;content&gt; @version:  &lt;/content&gt;
  		&lt;/comment&gt;
  
  ...		
  		</source>
          </s3>
      </s2>
  </s1>
  
  
  
  1.1                  xml-xerces/c/doc/scmprint.xml
  
  Index: scmprint.xml
  ===================================================================
  <?xml version="1.0" standalone="no"?>
  <!DOCTYPE s1 SYSTEM "sbk:/style/dtd/document.dtd">
  
  <s1 title="Sample: SCMPrint">
  
      <s2 title="SCMPrint">
          <p>SCMPrint shows how to access the Schema Content Model information.</p>
  
          <s3 title="Running SCMPrint">
            <p>This program parses the specified XSD file, then shows how to
              access the Schema Content Model information.</p>
  <source>
  Usage:
      SCMPrint [options] &lt;XSD file | List file&gt;
  
  This program loads XML Schema file(s), to show how one can
  access the Schema Content Model information.
  
  Options:
      -f     Enable full schema constraint checking processing. Defaults to off.
      -l     Indicate the input file is a List File that has a list of XSD files.
             Default to off (Input file is a XSD file).
      -?     Show this help.
  </source>
            <p>Here is some sample output from SCMPrint (as the output is verbose
               it has been truncated)</p>
  <source>cd &XercesCInstallDir;-linux/samples/data
  SCMPrint personal.xsd
  
  ********** Printing out information from Schema **********
  
  Processing Namespace:   
  ============================================
  
  Name:			personnel
  Component Type:	Element
  Content Model
  	Type:	Complex
  	Name:	C0
  
  --------------------------------------------
  Name:			person
  Component Type:	Element
  Content Model
  	Type:	Complex
  	Name:	C1
  
  --------------------------------------------
  Name:			name
  Component Type:	Element
  Content Model
  	Type:	Complex
  	Name:	C2
  
  --------------------------------------------
  Name:			family
  Component Type:	Element
  Content Model
  	Type:	Complex
  	Name:	C3
  
  --------------------------------------------
  Name:			given
  Component Type:	Element
  Content Model
  	Type:	Complex
  	Name:	C4
  
  --------------------------------------------
  Name:			email
  Component Type:	Element
  Content Model
  	Type:	Simple
  	Name:	string
  
  --------------------------------------------
  Name:			url
  Component Type:	Element
  Content Model
  	Type:	Complex
  	Name:	C5
  
  --------------------------------------------
  Name:			link
  Component Type:	Element
  Content Model
  	Type:	Complex
  	Name:	C6
  
  --------------------------------------------
  Processing Namespace:   http://www.w3.org/2001/XMLSchema
  ============================================
  
  no elements
  
  
  Name:			http://www.w3.org/2001/XMLSchema, anyType
  Component Type:	Type Definition
  Category:		Complex
  Base:			anyType
  Content Model:	(* (wildcard))
  
  ...
  </source>
          </s3>
      </s2>
  </s1>
  
  
  

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


Mime
View raw message