xsl-list
[Top] [All Lists]

Re: input form

2004-07-02 07:45:01

given:

<foo>
<type>input</type>
<desc>Societe</desc>
<size>32</size>
<name>001</name>
</foo>


then

<xsl:template match="foo[type='input'">
 <xsl:value-of select="desc"/>
 <xsl:text> : </xsl:text>
 <input type="text" name="{name}" size="{size}"/>
</xsl:template>

produces

Societe : <input type="text" name="001" size="32"/>

David

-- 
The LaTeX Companion
  http://www.awprofessional.com/bookstore/product.asp?isbn=0201362996
  http://www.amazon.co.uk/exec/obidos/tg/detail/-/0201362996/202-7257897-0619804


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


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