Re: [xsl] Multiple source documents

Subject: Re: [xsl] Multiple source documents
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 7 Sep 2005 10:38:31 +0100
> > If my XML documents were stored as files on the disk I know I could work
> with
> > the document() function in my XSL transform document.
> >
> > But they are not on disck ad will be passed to my XSLT processor as
> strings. No
> > does it mean I have to concatenate both of them in a meta XML document or
> is
> > there a way to process both of them in the same transform?

The only standard way to access an XML document passed as a string is to
use document() together with the data: URI type, although in practice
data isn't widely supported and so many systems offer extension
functions to parse strings. As such what you can do depends entirely on
the extension function or APi you are using to parse the strings.

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
________________________________________________________________________

Current Thread