This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Copying and Transforming/Recursion? - Revisited
- To: xsl-list at mulberrytech dot com
- Subject: Re: Copying and Transforming/Recursion? - Revisited
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Thu, 12 Oct 2000 15:14:39 GMT
- References: <3A6A4957259DD311AFDF00902773C74035A6C0@gebo.pandemonium.fr>
- Reply-To: xsl-list at mulberrytech dot com
> If my XSL actually copies the source, then how can it also apply the "input"
> template to the source it just copied?
th eidentity transform (either the one in the spec or th esimilar one
Ijust posted) matches on * but if you have a a template that has higer
priority then that will be applied (only one template is applied
to any node in a given apply-templates) match="input" has a default
priority higher than match="*" so when the node set contains an input
node the new templat ewill be used not the template used for everything
else.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list