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

Re: Java XSLT transformers and document('') problem

Subject: Re: Java XSLT transformers and document('') problem
From: Owen Rees <owen.rees@xxxxxx>
Date: Mon, 08 Sep 2008 08:28:12 +0100
Re:  Java XSLT transformers and document('') problem
--On Monday, September 08, 2008 09:10:47 +0600 LS wrote:

Is there any way to create transformation on-the fly and use it without
temporary dumping it to file?
My question depends only on document('') function, because all of the
others seems like ok

You need to set the system identifier on the Source from which you create the Transformer and set the URIResolver for that Transformer to deliver another Source with the same data when asked to resolve that system identifier.


When you create a Source from a File the system identifier will be set to the URI of the file and the default URIResolver can use that URI to create a new Source reading from that file. You have to set up the equivalent correspondence yourself when creating the Source in a way that does not automatically set the system identifier.

--
Owen Rees; speaking personally, and not on behalf of HP.
========================================================
Hewlett-Packard Limited.   Registered No: 690597 England
Registered Office:  Cain Road, Bracknell, Berks RG12 1HN

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.