xsl-list
[Top] [All Lists]

Re: Match on Element Value?

2004-08-11 08:03:15
  I know that it is easy to create a match pattern that utilizes an attributes
  value,

  Something like this:

  <template match="name='name'">

No you use exactly the same construct as for attributes:


  <template match="name[.='name']">

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


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