Blame test/relaxng/list.rng
|
Packit |
21b7a2 |
|
|
Packit |
21b7a2 |
|
|
Packit |
21b7a2 |
xmlns="http://relaxng.org/ns/structure/1.0"
|
|
Packit |
21b7a2 |
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
|
|
Packit |
21b7a2 |
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
|
Packit |
21b7a2 |
|
|
Packit |
21b7a2 |
<define name="pattern1">
|
|
Packit |
21b7a2 |
<data type="string">
|
|
Packit |
21b7a2 |
<param name="pattern">-?([0-9]+(\.[0-9]*)?|\.[0-9]+)</param>
|
|
Packit |
21b7a2 |
</data>
|
|
Packit |
21b7a2 |
</define>
|
|
Packit |
21b7a2 |
|
|
Packit |
21b7a2 |
<start>
|
|
Packit |
21b7a2 |
<element name="elem1">
|
|
Packit |
21b7a2 |
<attribute name="attr1">
|
|
Packit |
21b7a2 |
<list>
|
|
Packit |
21b7a2 |
<ref name="pattern1"/>
|
|
Packit |
21b7a2 |
</list>
|
|
Packit |
21b7a2 |
</attribute>
|
|
Packit |
21b7a2 |
</element>
|
|
Packit |
21b7a2 |
</start>
|
|
Packit |
21b7a2 |
|
|
Packit |
21b7a2 |
</grammar>
|