This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSL -XML to XSL reorienting node
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 27 Jun 2002 17:53:05 +0100
- Subject: Re: [xsl] XSL -XML to XSL reorienting node
- References: <20020627163349.55537.qmail@web10106.mail.yahoo.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
<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