Re: XT Question

Subject: Re: XT Question
From: James Clark <jjc@xxxxxxxxxx>
Date: Sat, 19 Jun 1999 08:53:00 +0700
The XSLProcessor interface (implemented by XSLProcessorImpl) derives
from org.xml.sax.Parser, so you can do this in exactly the same way as
you would normally with SAX (see CharacterStreamDemo in the SAX dist).

Nigel Byrnes wrote:
> 
> Hi XSL-ers
> 
> I would like to use XT for transforming xml into a formatting markup
> language. The xml content which I have in mind is not stored as a file
> but is represented as a Java String. So for speed reasons, it'd be cool
> to pass the xml document as a String.
> 
> Having studied the code to com.jclark.xsl.sax.Driver where I think any
> modifications should be made, I am not too sure about what is the best
> approach to take. I have tried creating my own transformFile() method
> replacing the "File inputFile," argument with "String xmlContent" but to
> no avail.
> 
> Any advice will be appreciated
> 
> Thanks
> 
> Nigel



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread