Subject: Re: [xsl] output the result of the transformation twice, indented and not indented, without duplicating the code From: "Wolfhart Totschnig wolfhart.totschnig@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 23 May 2022 20:52:19 -0000 |
Indeed it is ... but what if already you had written a template for the root node? Using <xsl:apply-templates/> as you have above would push the children of the root node and your previously-written template for the root node never would be triggered.
Graydon's approach saves the time for executing the transformation twice, but with the penalty of internal storage, so youB would have to factor that in to weighing your alternatives.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] output the result of the , G. Ken Holman g.ken. | Thread | Re: [xsl] output the result of the , Imsieke, Gerrit, le- |
Re: [xsl] output the result of the , G. Ken Holman g.ken. | Date | Re: [xsl] output the result of the , Imsieke, Gerrit, le- |
Month |