[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Multiple source documents

Subject: RE: Multiple source documents
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 7 Sep 2005 14:19:03 +0100
RE:  Multiple source documents
> 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 strings need to be parsed as XML to turn them into document nodes. You
can do this from your application code before passing the document nodes to
the XSLT processor; you could do it in a URI resolver invoked in response to
the document() call; or you could invoke an extension function such as
saxon:parse().

Michael Kay
http://www.saxonica.com/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.