xsl-list
[Top] [All Lists]

Re: [xsl] [saxon - Help] SystemID always empty String

2008-02-19 03:54:26
On 18/02/2008, Johannes Neubauer 
<johannes(_dot_)neubauer(_at_)cs(_dot_)tu-dortmund(_dot_)de> 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.

-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--