[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Problem using the doucument function()


Subject: Re: [xsl] Problem using the doucument function()
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 24 May 2004 13:28:15 +0100

in your stylesheet have a global variable

<xsl:variable name="original-doc" select="/">

then you can do

 <xsl:apply-templates select="$original-doc/data/headline"/>

David

-- 
The LaTeX Companion
  http://www.awprofessional.com/bookstore/product.asp?isbn=0201362996
  http://www.amazon.co.uk/exec/obidos/tg/detail/-/0201362996/202-7257897-0619804


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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