Hi,
I got ambiguous error when match the below,
XSL:
<xsl:template
match="subsection[(_at_)level='1']><sec1><xsl:apply-templates/></sec1></xsl:templ
ate>
<xsl:template match="subsection[(_at_)type='references']"><cits
style="numero"><xsl:apply-templates/></cits></xsl:template>
XML:
<subsection id="ss1" level="1" type="introduction">
<subsection id="ss2" level="1">
<subsection id="ss2-1" level="2">
<subsection level="1" id="ss11" type="references">
If the element subsection contains the attribute value, type="reference", I
have to match using <cite..> see above.
All other matches, is <sec1> as mentioned above.
How I need to update the above XSL code for my requirement. Please suggest.
Note: I am using saxon9 for xslt2.0 transform xml 2 xml.
Regards,
Ramkumar
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--