[XSL-LIST Mailing List Archive Home]
[Reply To This Message]
Re: Passing side documents to stylesheet (in Java)
Subject: Re: Passing side documents to stylesheet (in Java)|
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Wed, 25 Oct 2006 19:00:27 +0100
On 10/25/06, Martynas Jusevicius <martynas.jusevicius@xxxxxxxxx> wrote:
probably this is an old issue, but I'm struggling to find a solution.
My XSLT stylesheet is using several side documents that are
constructed at run-time.
Back in PHP I was passing them using a stream wrapper and a custom
"arg:" protocol. Then, for example, the stylesheet could get access
Obviously, that doesn't work in Java. So how do you do it in Java? I'm
using JDK 1.5 and the standard java.xml.transform package.
You use a CustomURIResolver to intercept the call and the return the document.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format