[xsl] putting the value from the xml

Subject: [xsl] putting the value from the xml
From: "Dionisio Ruiz de Zarate" <dionisio@xxxxxxxxxxxxx>
Date: Thu, 12 Jun 2003 02:14:16 +0200
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


Current Thread