Click to See Complete Forum and Search --> : XSL problem


Bedas
August 13th, 2001, 09:27 AM
I'm trying to convert some XML source to HTML form with XSL transformation. When I try to create attribute named "value" for some HTML tag, it doesn't work. For attributes with different name it works fine.
Can somebody help me ?


XSL snippet:

<INPUT type="text">
<xsl:attribute name="value">
xxxxxxxx</xsl:attribute>
</INPUT>

ekeko
September 6th, 2001, 11:06 AM
hi,

for me it works fine (I wrote similar code)..

do you get some error messages by transformation?

regards,

Ekeko

popeye
March 4th, 2002, 11:26 PM
This is what i use .. and it works fine

<xsl:element name="input">
<xsl:attribute name="name"><xsl:value-of select="NameID"/>
XXXXXXXXXXXXXXXXXXXX more values
</xsl:attribute>name="value"><xsl:value-of select="Value"/>
</xsl:attribute>
</xsl:element>