Re: [xsl] More Multi-Document Mambo

Subject: Re: [xsl] More Multi-Document Mambo
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 18 Jul 2001 17:38:00 +0100
> But what exactly is happening internally with the trees,
not sure what you want to know, but possibly the answer is that the
XPath model gives you an ordered sequence of distinct trees coming from
document() (and xx:node-set() and any otehr external function
thatgenerates a tree). / always refers to the tree containing the
current node.

> and is there any way to differentiate between them so that the identity
> transform doesn't pass through stuff from one of the trees?

the default apply-templates will never pass from one tree to another
as none of the axis cross a tree, so your transform will only move from
one tree to another if you explictly apply-templates select="document(...


David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread