Helo,
How to add extra attribute with information about depth.
I tried to add to complex-elements.xsl this, but it will not work:
<!-- wrap complex elements in section elements -->
<xsl:element name="section">
<xsl:attribute name="data-xsd2html2xml-depth"><xsl:value-of select="count(ancestor::*)"/></xsl:attribute>
Helo, How to add extra attribute with information about depth.
I tried to add to complex-elements.xsl this, but it will not work: