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

Re: [xsl] Switching the main input Doc


Subject: Re: [xsl] Switching the main input Doc
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 23 Nov 2005 16:49:03 GMT

> <xsl:variable name="myDoc" select="document(myscheme:...)"/>


sounds like you just want to add

<xsl:variable name="othermyDoc" select="/"/>

and have

<xsl:template match="/">
  <xsl:apply-templates select="$whicheverdocyouwant/*"/>
</xsl:template>

________________________________________________________________________
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