Subject: Re: combining multiple documents
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sun, 27 Jan 2008 00:26:28 GMT
|
> not since surely "/" simply specifies the global processing scope in
> any case.
/ denotes the root of the current document, of which you have two.
when processing test.xml / denotes the root of that file, and when
processing include.xml it denotes the root of that.
If you want to refer to the root of a different document you can not use
/ you must store the document node in a variable, or refer t it via a
function such as doc().
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
|