xsl-list
[Top] [All Lists]

RE: input form

2004-07-02 07:47:37
Ok thx both :)


Pierre 

-----Message d'origine-----
De : David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk] 
Envoyé : vendredi 2 juillet 2004 15:45
À : xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--




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