aboutsummaryrefslogtreecommitdiff
path: root/documentation/xsd.1
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.1
parent8e6517dd89899e8fd3b8d5b314bcdf50bd3296cc (diff)
Include file component in regex strings for schema being compiled
Diffstat (limited to 'documentation/xsd.1')
-rw-r--r--documentation/xsd.132
1 files changed, 7 insertions, 25 deletions
diff --git a/documentation/xsd.1 b/documentation/xsd.1
index 021f76a..743f1af 100644
--- a/documentation/xsd.1
+++ b/documentation/xsd.1
@@ -198,23 +198,19 @@ expressions are applied to a string in the form
.I filename namespace
-For example,
-
-.B XMLSchema.xsd http://www.w3.org/2001/XMLSchema
-
-The
-.I filename
-for the current translation unit is empty. For example, if you have file
+For example, if you have file
.B hello.xsd
with namespace
.B http://example.com/hello
and you run
.B xsd
-on this file, then the string in question would be:
+on this file, then the string in question will be:
-.B \ http://example.com/hello
+.B hello.xsd. http://example.com/hello
-Note the leading space.
+For the built-in XML Schema namespace the string is:
+
+.B XMLSchema.xsd http://www.w3.org/2001/XMLSchema
The following three steps are performed for each regular expression until
the match is found:
@@ -582,26 +578,12 @@ in the form
.I filename namespace xpath
-For example,
+For instance:
.B hello.xsd http://example.com/hello element
.B hello.xsd http://example.com/hello type/element
-The
-.I filename
-for the current translation unit is empty. For example, if you have file
-.B hello.xsd
-with namespace
-.B http://example.com/hello
-and you run
-.B xsd
-on this file, then the string in question would be:
-
-.B \ http://example.com/hello element
-
-Note the leading space.
-
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