xsd2html2xml icon indicating copy to clipboard operation
xsd2html2xml copied to clipboard

Add data-xsd2html2xml-depth

Open robert-abram opened this issue 5 years ago • 0 comments

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>

robert-abram avatar Jan 15 '20 14:01 robert-abram