|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Outer Loop and Inner Loop
Okay, I'm close. This is what my outerloop lookup looks like: <xsl:value-of select="$outerCurrent/@usr_memberID"/> You see "@usr_memberID" - this attribute name is an example of what I would be looking up from the outerloop, and indeed this works fine but this is the "hardcoded" version of a value-select that needs to be dynamic. How do I dynamically set a value at this point? Let say I had a variable: <xsl:variable name="att_lookup">usr_memberID</xsl:variable> In the dynamic sense: <xsl:variable name="att_lookup"> <xsl:value-of select="$$xmTmplt/FLD[@name]"/></xsl:variable> and then lookup this particular attribute in the outerCurrent variable. Thanks again - I'm really trying to get this! Karl FOR CLARIFACTION - THAT LOOK UP OCCURS WHERE THE ###'S ARE AND THAT VARIABLE OCCURS WHERE THE VVVV'S ARE > <xsl:template match="rs:data/z:row"> > <xsl:variable name="outerCurrent" select="current()" /> > <tr> > <xsl:for-each select="$xmTmplt/FLD"> > VVVVVVVVVVVVVVVVVVV > <td> > ################################### > </td> > </xsl:for-each> > </tr> > </xsl:template> 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








