xsl-list
[Top] [All Lists]

putting the value from the xml

2003-06-11 17:14:16
i have the next xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
<texto  primero="asdfasdf" segundo=""/>
<texto  primero="asdfasdf" segundo=""/>
</root>

how can i make one :
<input type="text" name="mensaje" size="35" value=""> and into the value to
put the primero value?
i am trying with the next but it doesn't run:

<xsl:for-each select="texto">
<input type="text" name="mensaje" size="35" value="<xsl:value-of
select="@primero"/>"/>
</xsl:for-each>

can you help me please?
thanks



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>