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

Re: document() source

Subject: Re: document() source
From: "Evert-Jan Stoel" <info@xxxxxxxxxxx>
Date: Sat, 29 Oct 2005 18:04:53 +0200
evert jan stoel
Hi Fraser,

Yes, the doment should be on the file system, but is is possible to call a
java or php file and let the file output the xml as a string. I had a same
problem and found that this worked nicely.

greetings

Evert-Jan


----- Original Message -----
From: "Fraser Goffin" <goffinf@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, October 29, 2005 5:32 PM
Subject:  document() source


> I have a need to process 2 XML instances in a single piece of XSLT (I'm
> doing some x doc validation).
>
> I see that in XSLT I can use the document() function BUT it APPEARS that
it
> must retrieve the XML from the file system or a resolvable URI ??
>
> In my case the second instance doc is already 'in memory' (having been
> retrieved from a database) so I really just want to pass the XML itself as
a
> string.
>
> Also, because the production environment in which the solution will be
> deployed is (naturally) constrained, getting access to the file system to
> create a temporary file is unlikely to be possible (plus performance could
> be an issue for some of the quite large XML docs we use).
>
> Does anyone know whether this is possible using XSLT, or will I need to
look
> at a programmatic (ie. Java) implementation alternative :-(
>
> Fraser.

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.