This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: easy treewalker template



> <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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]