[Top] [All Lists]

Re: [xsl] output the result of the transformation twice, indented and not indented, without duplicating the code

2022-05-23 14:29:25

On 23.05.2022 21:07, G. Ken Holman 
g(_dot_)ken(_dot_)holman(_at_)gmail(_dot_)com wrote:
Martin, I would suggest a slight change to your code:


... rather than:


... 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.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>