zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #15021
[Merge] lp:~zorba-coders/zorba/schema-tools-module-doc into lp:zorba/schema-tools-module
William Candillon has proposed merging lp:~zorba-coders/zorba/schema-tools-module-doc into lp:zorba/schema-tools-module.
Commit message:
Minor documentation improvements.
Requested reviews:
William Candillon (wcandillon)
Cezar Andrei (cezar-andrei)
For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/schema-tools-module-doc/+merge/126944
Minor documentation improvements.
--
https://code.launchpad.net/~zorba-coders/zorba/schema-tools-module-doc/+merge/126944
Your team Zorba Coders is subscribed to branch lp:zorba/schema-tools-module.
=== modified file 'src/schema-tools.xq'
--- src/schema-tools.xq 2012-03-20 18:33:33 +0000
+++ src/schema-tools.xq 2012-09-28 12:20:26 +0000
@@ -29,8 +29,9 @@
: @author Cezar Andrei
: @see http://xmlbeans.apache.org/
: @library <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">JDK - Java Development Kit</a>
- : @project data processing/metadata
: @library <a href="http://xmlbeans.apache.org/">Apache XMLBeans</a>
+ : @see http://xmlbeans.apache.org
+ : @project Zorba/Data Processing/Schema Tools
:)
module namespace schema-tools = "http://www.zorba-xquery.com/modules/schema-tools";
@@ -58,8 +59,7 @@
: <a href="http://xmlbeans.apache.org/">official documentation for further
: information</a>.
: <br />
- : Example:<pre class="brush: xquery;">
- :
+ : Example:<pre class="ace-static" ace-mode="xquery"><![CDATA[
: import module namespace st = "http://www.zorba-xquery.com/modules/schema-tools";
: declare namespace sto =
: "http://www.zorba-xquery.com/modules/schema-tools/schema-tools-options";
@@ -74,7 +74,7 @@
: return
: st:inst2xsd($instances, $options)
:
- : </pre>
+ : ]]></pre>
: <br />
: @param $instances The input XML instance elements
: @param $options Options:<br />
@@ -144,8 +144,7 @@
: <a href="http://xmlbeans.apache.org/">official documentation for further
: information</a>.
: <br />
- : Example:<pre class="brush: xquery;">
- :
+ : Example: <pre class="ace-static" ace-static="xquery"><![CDATA[
: import module namespace st = "http://www.zorba-xquery.com/modules/schema-tools";
: declare namespace sto =
: "http://www.zorba-xquery.com/modules/schema-tools/schema-tools-options";
@@ -170,7 +169,7 @@
: </sto:xsd2inst-options>
: return
: st:xsd2inst($xsds, "a", $options)
- : </pre><br />
+ : ]]></pre><br />
: @param $schemas elements representing XMLSchema definitions
: @param $rootElementName The local name of the instance root element.
: If multiple target namespaces are used, first one found - using the
@@ -217,4 +216,4 @@
schema-tools:xsd2inst-internal ($schemas as element()+,
$rootElementName as xs:string,
$options as element(st-options:xsd2inst-options, st-options:xsd2instOptionsType)?)
- as document-node() external;
\ No newline at end of file
+ as document-node() external;
Follow ups