This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Castor -> XSLT
- To: xsl-list at mulberrytech dot com
- Subject: Re: Castor -> XSLT
- From: Gary L Peskin <garyp at firstech dot com>
- Date: Thu, 26 Oct 2000 12:30:40 -0700
- Organization: The Firstech Corporation
- References: <39F8460A.7BFCD57A@Korson-McGregor.com>
- Reply-To: xsl-list at mulberrytech dot com
Jason Russ wrote:
>
> Can someone please tell me how one
> would go about piping the output of castor
> to an XSLT processor (specifically Xalan)?
I don't know anything about Castor but I guess Marshaller.marshal
must be generating SAX events for a DocumentHandler.
What happens when you try this? At first glance, it looks to me
like it should work. Are you getting any output on System.out?
Are you sure that the marshaller is generating SAX events for
your input? Can you serialize your Castor output and run it
through Xalan from the command line using your stylesheet to verify that
there should be some output?
Finally, you might want to add tracing to your processor. See this code
example http://xml.apache.org/xalan/usagepatterns.html#debugging for
details on how to include this in your program.
HTH,
Gary
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list