This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: get the value from a different child


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]