|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: [saxon - Help] SystemID always empty String
Hi,
> On 18/02/2008, Johannes Neubauer <johannes.neubauer@xxxxxxxxxxxxxxxxx>
> wrote:
>> TransformerHandler compiler = saxFactory.newTransformerHandler();
>> Any Idea what I did wrong?
>
> Don't you want to supply the stylesheet there?
>
> saxFactory.newTransformerHandler(new SAXSource(new
> InputSource("path/to/stylesheet.xslt")));
>
> The empty contructor for a TransformerHandler creates a
> pseudo-identity transformer (as far as I know) and is used when you
> want to get SAX events to a Result.
Sorry this was a mistake of the example (it is not exactly what I use in
my code, but a simplified excerpt). Of course I use
saxFactory#getTemplatesHandler().
Anyway in my code I use it the right way and the problem remains.
mfg,
Jonny.
|
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
|

Cart


![Re: [saxon - Help] SystemID always empty String](/images/get_stylus.gif)





