[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How to assign a nodelist to a variable


Subject: Re: [xsl] How to assign a nodelist to a variable
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 8 Jan 2004 17:25:33 GMT

this is a faq, although I am not sure why it is so, attribute value
templates are clearly described in the spec and most tutorials, but
prople seem to miss them.

  onclick="lgotoent('report.php?view=<xsl:value-of select="@idx" />');" 

isn't well formed xml so xsl will not even start, you want

  onclick="lgotoent('report.php?view={@id}');" 

(Despite the subject line, there are no variables involved in either the
question or the answer)

David

-- 
http://www.dcarlisle.demon.co.uk/matthew

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

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords