I want to know whether it is possible to transform Relax NG XML with XSLT. Please give me some tutorial.
I don't seem to be able to match the grammar-tag in the RelaxNG schema below with <xsl:template match="grammar">
<grammar>
<start>
<element name="html">
<zeroOrMore>
<ref name="section"/>
</zeroOrMore>
</element>
</start>
<define name="section">
<element name="div">
<attribute name="class"><value>section</value></attribute>
<zeroOrMore>
<element name="para">
<text/>
</element>
</zeroOrMore>
<zeroOrMore>
<ref name="subsection"/>
</zeroOrMore>
</element>
</define>
</grammar>