|
Subject: Re: [xsl] forms that span other elements From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx> Date: Mon, 22 Apr 2002 13:55:56 +0200 |
<xsl:template match="form"> <!-- Form template to convert XHTML
forms to WML input elements -->
<xsl:apply-templates select="input" >
<!-- Capture the link value for later use -->
<xsl:with-param name='href' select='@action'/>
</xsl:apply-templates>
Here you are applying templates to child::input elements only, that is
what abbreviated XPath expression "input" selects. If you are interested
in all input elements descendants of the form element, use
"descendants::input" instead or ".//input" for short.<xsl:apply-templates select="descendants::input" > <xsl:with-param name='href' select='@action'/> </xsl:apply-templates>
-- Oleg Tkachenko Multiconn International, Israel
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] forms that span other element, Jacob P. Glenn | Thread | RE: [xsl] forms that span other ele, Jarno . Elovirta |
| RE: [xsl] last(): selecting the las, Jarkko . Moilanen | Date | RE: [xsl] last(): selecting the las, Jarno . Elovirta |
| Month |