mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-15 23:24:06 +03:00
b08c9815d2
* relaxng.c: more work on Relax-NG, implementing interleave * test/relaxng/* result/relaxng/*: augmented/updated the regression tests Daniel
58 lines
1.1 KiB
Plaintext
58 lines
1.1 KiB
Plaintext
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
|
|
<start>
|
|
<ref name="head"/>
|
|
</start>
|
|
<define name="head">
|
|
<element name="head">
|
|
<interleave>
|
|
<ref name="title"/>
|
|
<optional>
|
|
<ref name="base"/>
|
|
</optional>
|
|
<zeroOrMore>
|
|
<ref name="style"/>
|
|
</zeroOrMore>
|
|
<zeroOrMore>
|
|
<ref name="script"/>
|
|
</zeroOrMore>
|
|
<zeroOrMore>
|
|
<ref name="link"/>
|
|
</zeroOrMore>
|
|
<zeroOrMore>
|
|
<ref name="meta"/>
|
|
</zeroOrMore>
|
|
</interleave>
|
|
</element>
|
|
</define>
|
|
<define name="title">
|
|
<element name="title">
|
|
<text/>
|
|
</element>
|
|
</define>
|
|
<define name="base">
|
|
<element name="base">
|
|
<text/>
|
|
</element>
|
|
</define>
|
|
<define name="style">
|
|
<element name="style">
|
|
<text/>
|
|
</element>
|
|
</define>
|
|
<define name="script">
|
|
<element name="script">
|
|
<text/>
|
|
</element>
|
|
</define>
|
|
<define name="meta">
|
|
<element name="meta">
|
|
<text/>
|
|
</element>
|
|
</define>
|
|
<define name="link">
|
|
<element name="link">
|
|
<text/>
|
|
</element>
|
|
</define>
|
|
</grammar>
|