Re: [xsl] XPath expr on generated nodeset

Subject: Re: [xsl] XPath expr on generated nodeset
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 25 Oct 2002 15:52:15 +0100
   <xsl:variable name="aFrag">
      <xsl:element name="aaa">
        <xsl:element name="bbb">Stuff</xsl:element>

that is just a long way of writing

   <xsl:variable name="aFrag">

in particular it generates nodes in the default namepsace which in your
case is

however Xpath "$aNd//bbb looks for bbb in no namespace, you want
and  xmlns:x="" somewhere above so the x:
prefix is in scope.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:

Current Thread