[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: generate xsl 1.0 from 2.0 question

Subject: RE: generate xsl 1.0 from 2.0 question
From: "Bryan Rasmussen" <bry@xxxxxxxxxx>
Date: Wed, 23 Jan 2002 12:11:23 +0100
thanks jeni, I came to sort of the same conclusion(our posts crossed), post
starts with line about coffee kicking in.
><xsl:template name="createChoose">
><xsl:param name="translatorName" />
>  <temp:choose>
>    <xsl:for-each select="$translator[@name = $translatorName]
>                            /(* | processing-instruction())">
>      <xsl:call-template name="translator" />
>    </xsl:for-each>
>  </temp:choose>

>[Note that I've swapped the child::node()[name() != ''] for something>
>that explicitly selects the nodes that have names (i.e. elements and
>processing instructions) using XPath 2.0 general steps. I suspect that
>you're just after the elements, in which case you could just use
>$translator[@name = $translatorName]/*.]

yep I was just after the elements. :) thanks again.

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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.