Subject: get the value from a different child From: Nicola Cubeddu <cubo@xxxxxx> Date: Thu, 04 May 2000 10:25:11 +0100 |
<LIST>
<ATTRIBUTE>
<PERMISSION>1</PERMISSION>
<NAME>Cs</NAME>
</ATTRIBUTE>
...
<BILLING_ATTRIBUTE>
<VALUE>3111</VALUE>
<NAME>Cs</NAME>
</BILLING_ATTRIBUTE>
...
</LIST>
I want a <INPUT TYPE="TEXT">
with name= ATTRIBUTE . NAME
and with value= BILLING_ATTRIBUTE . VALUE
can anyone say me why this XSL do NOT work?
<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
NICOLA CUBEDDU
Consultancy & Projects Group
Via Mameli, 228
09123 Cagliari - ITALY
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: get the value from a different , Nicola Cubeddu | Thread | Re: get the value from a different , Nicola Cubeddu |
Re: No match or what..., Alankar Chowdhury | Date | Re: Empty element revisited, David Carlisle |
Month |