RE: [xsl] input form

Subject: RE: [xsl] input form
From: "Pierre" <pierre@xxxxxxxxxxxxx>
Date: Fri, 2 Jul 2004 16:47:37 +0200
Ok thx both :)


Pierre 

-----Message d'origine-----
De : David Carlisle [mailto:davidc@xxxxxxxxx] 
Envoyé : vendredi 2 juillet 2004 15:45
À : xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Objet : Re: [xsl] input form


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-06198
04


________________________________________________________________________
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
________________________________________________________________________

--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
--+--



Current Thread