This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: get the value from a different child
- To: xsl-list at mulberrytech dot com
- Subject: Re: get the value from a different child
- From: Nicola Cubeddu <cubo at cpg dot it>
- Date: Thu, 04 May 2000 12:46:15 +0100
- References: <391141F7.BEFC5EED@cpg.it>
- Reply-To: xsl-list at mulberrytech dot com
OK, I find the error!
<xsl:value-of select="BILLING_ATTRIBUTES[NAME=$myName]"/>
the correct line was
<xsl:value-of select="BILLING_ATTRIBUTES[NAME=$myName]/VALUE"/>
ciao
> <xsl:template match="ATTRIBUTE[PERMISSION='1']">
> <TR>
> <TD>
> <xsl:value-of select="NAME"/>
> </TD>
> <TD>
> <INPUT TYPE="TEXT">
> <xsl:attribute name="NAME"><xsl:value-of
> select="NAME"/></xsl:attribute>
> <xsl:variable name="myName"><xsl:value-of
> select="NAME"/></xsl:variable>
>
> <xsl:attribute name="VALUE">
> <xsl:value-of select="BILLING_ATTRIBUTES[NAME=$myName]"/>
> </xsl:attribute>
> </INPUT>
> ...
>
> I appreciate all comment.
> ciao ciao
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list