This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XSL -XML to XSL reorienting node



    <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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]