[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Nesting <xsl:value-of> tags
Thomas,
At 03:05 PM 2/4/2003, you wrote: If the <id> corresponds to the first person in the ShareWebUsers.xml, it returns the correct value of the <ntname> tag. If the <id> is for the 2nd ... nth person, I get nothing. ... Any idea why I can't get the ntname back for 1580652 or 3113434? I would check the value you are using in the key expression. In the sample you provided before it looked like it should be "../@ownedby" (the ownedby attribute on the parent of the context node), which of course in the code I proposed is bound to the $ownedby variable. Having the wrong expression there, or calling it from the wrong context node (i.e. binding the variable to the wrong node or a node that doesn't exist) will affect your results. Try using an <xsl:message> statement (assuming your processor supports it) to announce this value en passant: that should give you a clue. If you're still stuck, could we please see a sample of the source along with the template as it currently stands? Thanks-- Wendell
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
|