You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2008/09/17 18:08:17 UTC

svn commit: r696351 - in /xerces/c/trunk/doc: samples.xml xinclude.xml

Author: amassari
Date: Wed Sep 17 09:08:16 2008
New Revision: 696351

URL: http://svn.apache.org/viewvc?rev=696351&view=rev
Log:
Added documentation for XInclude sample

Added:
    xerces/c/trunk/doc/xinclude.xml
Modified:
    xerces/c/trunk/doc/samples.xml

Modified: xerces/c/trunk/doc/samples.xml
URL: http://svn.apache.org/viewvc/xerces/c/trunk/doc/samples.xml?rev=696351&r1=696350&r2=696351&view=diff
==============================================================================
--- xerces/c/trunk/doc/samples.xml (original)
+++ xerces/c/trunk/doc/samples.xml Wed Sep 17 09:08:16 2008
@@ -97,6 +97,8 @@
 					<br/>PSVIWriter exposes the underlying PSVI of the parsed XML file.</li>
 				<li><link idref="scmprint-&XercesC3Series;">SCMPrint</link>
 					<br/>SCMPrint parses an XSD file and prints information about the Schema Component Model.</li>
+				<li><link idref="xinclude-&XercesC3Series;">XInclude</link>
+					<br/>XInclude parses an XML file and writes a new XML file with the xi:include elements expanded.</li>
 			</ul>
 		</s3>
     </s2>

Added: xerces/c/trunk/doc/xinclude.xml
URL: http://svn.apache.org/viewvc/xerces/c/trunk/doc/xinclude.xml?rev=696351&view=auto
==============================================================================
--- xerces/c/trunk/doc/xinclude.xml (added)
+++ xerces/c/trunk/doc/xinclude.xml Wed Sep 17 09:08:16 2008
@@ -0,0 +1,41 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+
+<!DOCTYPE s1 SYSTEM "sbk:/style/dtd/document.dtd">
+
+<s1 title="Sample: XInclude">
+
+    <s2 title="XInclude">
+        <p>XInclude uses the provided DOM API to parse an XML file,
+		constructs the DOM tree, expands the xi:include elements
+		and writes the resulting tree to a file.</p>
+
+        <s3 title="Running XInclude">
+
+          <p>The XInclude sample converts an input XML file into
+          an expanded output XML file. To run XInclude, enter the following </p>
+<source>XInclude &lt;Input XML file&gt; &lt;Output XML file&gt;</source>
+          <p>The following parameters may be set from the command line </p>
+<source>
+Usage:
+    XInclude [-h] InputFile OutputFile
+  -h :             Prints this help message and exits.
+</source>
+        </s3>
+    </s2>
+</s1>



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