[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: same xpath, different results?
> I am not sure why, but the variable $whichRate will > always have only 1 element No it will have no elements at all. It is a result tree fragment containg the results of xsl:value-of and xsl:value-of _always_ returns a string, not an element nor attribute node (so even if you used your processors node-set extension function to turn the result fragment to a node set, it still would not contain any element nodes. Since you didn't show your input, or your desired output or any description of what transformation you intend, I can't really suggest what the code should be. > but the paramater cnt will have a variable number > of elements... cnt uses a select attribute so will contain all the nodes selected by that XPath. 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 ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|