[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] testing element name

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:when test="name()='view:textfield'">
  <xsl:when test="name()='view:dropdown'">

Charles Knell
cknell@xxxxxxxxxx - email

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread