[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: Example [Was: Two things to strengthen the spec]
Oops. Two examples were missing.
>3.2 Example
>
>Here is an example schema.
>
>ex10.rng
<?xml version="1.0"?>
<element name="foo" ns="" xmlns="http://relaxng.org/ns/structure/0.9">
<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml">
This is an annotation.
</xhtml:p>
<element ns="http://n1" name="bar1">
<empty/>
</element>
<element ns="http://n2" name="bar2">
<empty/>
</element>
</element>
>4.20 Example
>
>We consider how a schema in 3.2 is normalized, but we use the XML
>instance syntax for convenience. We assume that unprefixed
>tags are in the namespace "http://relaxng.org/ns/structure/0.9".
>
>4.20.1 Result of 4.1
<element name="foo" ns="">
<element ns="http://n1" name="bar1">
<empty/>
</element>
<element ns="http://n2" name="bar2">
<empty/>
</element>
</element>
----
Murata Makoto mura034@attglobal.net
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC