Re: [xsl] Scope of xml source, includes, and inline xml

Subject: Re: [xsl] Scope of xml source, includes, and inline xml
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 31 Mar 2005 21:32:54 +0100
   Will the following expression work:
   <xsl:apply-templates select="data/foo = $foo_test//foo"/>
   
   Resulting in a match on:
   foo = 3; and foo = 4
   

yes (3 and 99 not 3 and 4)

  <!-- AT THIS POINT.. 
        HOW DO WE REFER BACK TO MAIN XML SOURCE??? -->


stick 
<xsl:variable name="x" select="/"/>
at the top level of your stylesheet amd then use $x/data/foo

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread