[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] XSL -XML to XSL reorienting node
Subject: Re: [xsl] XSL -XML to XSL reorienting node From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 27 Jun 2002 17:53:05 +0100 |
<xsl:if test="child::*"> <xsl:choose> <xsl:when test="name()=''"> That when can never be true. If the outer if is true then the current node has child nodes so it must be an element node. Element nodes never have an empty name. in your second one <xsl:if test="child::*()[not(SCRGRP | SCRGRPX | NON-SCORE | that's a syntax error you can't have () anywhere in Xpath 1. I didn't understand your problem description so can't give advice on what it should be, also I have a plane to catch (literally) David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSL -XML to XSL reorienting n, Mike Ferrando | Thread | RE: [xsl] XSL -XML to XSL reorienti, Chris Bayes |
[xsl] Need attr="" in html..., Kurt George Gjerde | Date | Re: [xsl] XSL -XML to XSL reorienti, Jeni Tennison |
Month |
Keywords