Subject: Re: [xsl] output the result of the transformation twice, indented and not indented, without duplicating the code From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 23 May 2022 19:29:21 -0000 |
Martin, I would suggest a slight change to your code:
B <xsl:next-match/>
... rather than:
B <xsl:apply-templates/>
... and when the heavy-lifting code is not being imported, then put a priority="1000" on the suggested match.
That will allow Wolfhart's stylesheet also to support a template rule for the root node.
Agreed, that is a better way, should have thought about it probably as it is an easy way in XSLT 2 and 3.
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 , Wolfhart Totschnig w |
Re: [xsl] output the result of the , G. Ken Holman g.ken. | Date | Re: [xsl] output the result of the , Wolfhart Totschnig w |
Month |