|
Subject: Re: [xsl] testing element name From: "Charles Knell" <cknell@xxxxxxxxxx> Date: Fri, 09 Aug 2002 09:59:22 -0700 |
> Basically, my question is what expressions should I put in the xsl:if
>
> test"?" above?
You'll want to test the name() of the current node, as in:
<xsl:choose>
<xsl:when test="name()='view:textfield'">
...
</xsl:when>
<xsl:when test="name()='view:dropdown'">
...
</xsl:when>
<xsl:otherwise>
...
</xsl:otherwise>
</xsl:choose>
--
Charles Knell
cknell@xxxxxxxxxx - email
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] testing element name, G. Ken Holman | Thread | [xsl] XSLT 2.0 WD -- question about, Jeff Kenton |
| Re: [xsl] FO Initial Page Sequence , Charles Knell | Date | Re: [xsl] FO Initial Page Sequence , Oleg Tkachenko |
| Month |