Subject: Re: [xsl] xsltproc -maxdepth From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 2 Jun 2015 12:20:35 -0000 |
I admit, haven't dealt with xslt for a long time. However, I bumped into this option "xsltproc -maxdepth", and couldn't find a sufficient information of what exactly it controls ("max. template stack depth" - which doesn't mean nothing to me). Could any provide me with more info of which problem is solves (ok, max nr of recursion, but recursion of what exactly?) , and how exactly it has been solved.
<root> <section> <division> <division> <division> <division>This is a test.</division> </division> </division> </division> </section> </root>
<xsl:template match="root"> <html> <xsl:apply-templates/> </html> </xsl:template>
<xsl:template match="section"> <body> <xsl:apply-templates/> </body> </xsl:template>
<xsl:template match="division"> <div> <xsl:apply-templates/> </div> </xsl:template>
<html> <body> <div> <div> <div> <div>This is a test.</div> </div> </div> </div> </body> </html>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] xsltproc -maxdepth, Heinrich Nbongo hein | Thread | [xsl] XSL-List Guidelines, Tommie Usdin btusdin |
[xsl] XSL-List Guidelines, Tommie Usdin btusdin | Date | [xsl] FO: Alphabetical index layout, Michael Müller-Hille |
Month |