|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: passing NodeList through Global Parameter to XSL s
> From: Fernandes, John [mailto:jfernandes@xxxxxxxxxx] > Sent: Tuesday, April 29, 2003 1:50 PM > Subject: RE: passing NodeList through Global Parameter to XSL > styles heet problem m > > > Thank you for the quick reply Brian. However it still > produces an empty > drop-down. Its almost as if it is not being able to find the > elements in the > node set. Anyone else have any suggestions on what I may attempt. Hmm, it seems minor, but try: <select> <xsl:for-each select="$v_employer/employer/option"> <option value="{.}"><xsl:value-of select="."/></option> </xsl:for-each> </select> After reading your message again, it appears as though you convert the entire parameter to a node-set. $v_employer by itself represents the root node of the node-set, so the XPath expression in my original suggestion would be the same as writing select="/option", which isn't what you want. See if that fixes your problem. cheers, b. | brian martinez brian.martinez@xxxxxxxxxxx | | lead gui programmer 303.708.7248 | | cheap tickets, part of trip network fax 303.790.9350 | | 6436 s. racine cir. englewood, co 80111 | | cendant travel distribution services http://www.cheaptickets.com/ | 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
|

Cart








