summaryrefslogtreecommitdiff
path: root/documentation/xsd.xhtml
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-01-12 15:14:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-01-12 15:14:06 +0200
commitf3e67f694188a16e426e92fda846998fd26db50d (patch)
tree8479968d3e677af5858e7bda565674bf85d8fef8 /documentation/xsd.xhtml
parent8e6517dd89899e8fd3b8d5b314bcdf50bd3296cc (diff)
Include file component in regex strings for schema being compiled
Diffstat (limited to 'documentation/xsd.xhtml')
-rw-r--r--documentation/xsd.xhtml27
1 files changed, 7 insertions, 20 deletions
diff --git a/documentation/xsd.xhtml b/documentation/xsd.xhtml
index 99c19b0..1f1c5f8 100644
--- a/documentation/xsd.xhtml
+++ b/documentation/xsd.xhtml
@@ -172,19 +172,16 @@
<p><code><i>filename</i> <i>namespace</i></code></p>
- <p>For example,</p>
-
- <p><code><b>XMLSchema.xsd http://www.w3.org/2001/XMLSchema</b></code></p>
-
- <p>The <code><i>filename</i></code> for the current translation unit
- is empty. For example, if you have file <code><b>hello.xsd</b></code>
+ <p>For example, if you have file <code><b>hello.xsd</b></code>
with namespace <code><b>http://example.com/hello</b></code> and you run
<code><b>xsd</b></code> on this file, then the string in question
- would be:</p>
+ will be:</p>
- <p><code>&nbsp;<b>http://example.com/hello</b></code></p>
+ <p><code><b>hello.xsd. http://example.com/hello</b></code></p>
- <p>Note the leading space.</p>
+ <p>For the built-in XML Schema namespace the string is:</p>
+
+ <p><code><b>XMLSchema.xsd http://www.w3.org/2001/XMLSchema</b></code></p>
<p>The following three steps are performed for each regular expression
until the match is found:</p>
@@ -517,21 +514,11 @@
<p><code><i>filename</i> <i>namespace</i> <i>xpath</i></code></p>
- <p>For example,</p>
+ <p>For instance:</p>
<p><code><b>hello.xsd http://example.com/hello element</b></code></p>
<p><code><b>hello.xsd http://example.com/hello type/element</b></code></p>
- <p>The <code><i>filename</i></code> for the current translation unit
- is empty. For example, if you have file <code><b>hello.xsd</b></code>
- with namespace <code><b>http://example.com/hello</b></code> and you run
- <code><b>xsd</b></code> on this file, then the string in question
- would be:</p>
-
- <p><code>&nbsp;<b>http://example.com/hello element</b></code></p>
-
- <p>Note the leading space.</p>
-
<p>As an example, the following expression makes all the derived
names start with capital letters. This could be useful when
your naming convention requires type names to start with