[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: testing element name
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|