xsl-list
[Top] [All Lists]

Re: Scope of xml source, includes, and inline xml

2005-03-31 13:32:54



   
   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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--