This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: easy treewalker template
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sat, 16 Mar 2002 17:15:57 GMT
- Subject: Re: [xsl] easy treewalker template
- References: <000701c1cd07$3d02bfa0$e4a1fea9@webspace>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <xsl:template match="node()[generate-id(.)='N144F']">
beware that you can not rely on a processor generating teh same ID if
the same document is run a second time, thus you have no way of knowing
in advance what IDs will be generated by what nodes. Thus this match
can match any node in the document, and can match a different node ewach
time you run the stylesheet.
So, this probably isn't what you want, bit without seeing a sample
input/output I'm not sure what you do want.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list