[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: LS <leonid@xxxxxxxxxxxxx>
Date: Mon, 08 Sep 2008 13:32:08 +0600
Re:  Java XSLT transformers and document('') problem
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.
thank you! but can you provide a sample code or point me to some friendly example?

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.