xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lyle Coder" <x_co...@hotmail.com>
Subject Re: Failed to process style sheet
Date Wed, 03 Jan 2001 16:45:25 GMT
Hi,
Yes, I am aware that you cannot pass any arbitrary DOM to the
XSLTEngineImpl::process()...
That is why I create a XalanNode based DOM in my program.... so what I'm
doing is using expat to parse the XML file, and creating a XalanNode based
DOM in my program and passing that to the XSLT engine... still the error.  I
also traversed the XSLT DOM and printed it to ensure that the DOM is
correct.

Thanks
Lyle
----- Original Message -----
From: "Seetharam Misro" <smisro@solidworks.com>
To: <general@xml.apache.org>
Sent: Thursday, January 18, 2001 4:55 PM
Subject: RE: Failed to process style sheet


> Few things first:
> 1. You must be using Xalan 1_2_2 .
> 2. I'm not sure if you can use the DOM object returned by expat
>    and pass it to Xalan.What about the DOM representation in both ..are
they
> compatible?
> 3. There is an example in the Samples directory which shows how to use
>    Xalan to input a source XML file and get a DOM object. You could use
> this.
>
> -seetharam
>
> -----Original Message-----
> From: Lyle Coder [mailto:x_coder@hotmail.com]
> Sent: Wednesday, January 03, 2001 11:08 AM
> To: general@xml.apache.org
> Subject: Re: Failed to process style sheet
> Importance: High
>
>
> Hi,
> Yes, I have my own code (written to the Xalan API).  I made it look
exactly
> like the SimpleTransform example in the Xalan package.
>
> Except, instead of using a file name as the XSLTInputSource, I am
> instantiating XSLTImputSource with a XalanNode object.  I create this
object
> by parsing the XML and XSL files using James Clarks expat.
>
> That was all there is to the input message, any pointers on seeing where
> things are failing?  It says failed to process stylesheet, could that mean
> that my DOM is constructed wrong? It seems ok to me...
>
> Thanks
> Lyle
>
> ----- Original Message -----
> From: <David_N_Bertoni@lotus.com>
> To: <general@xml.apache.org>
> Sent: Thursday, January 18, 2001 4:34 PM
> Subject: Re: Failed to process style sheet
>
>
> >
> > I assume you're writing your own code and not using the testXSLT sample?
> > If so, is that all there is to the error message, or is there more?
> >
> > You might also try debugging your code to see where the exception is
being
> > thrown.
> >
> > Dave
> >
> >
> >
> >
> >                     "Lyle Coder"
> >                     <x_coder@hotm        To:
<general@xml.apache.org>
> >                     ail.com>             cc:     (bcc: David N
> Bertoni/CAM/Lotus)
> >                                          Subject:     Failed to process
> style sheet
> >                     01/03/2001
> >                     10:45 AM
> >                     Please
> >                     respond to
> >                     general
> >
> >
> >
> >
> >
> > Hi,
> > I am calling XSLTEngineImpl::process() on an XSLTInputSource class I
> > created from a XalanDom object.  I get an exception "Failed to process
> > stylesheet!".  How do I tell what is going wrong?
> >
> > Thanks
> > Lyle
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > In case of troubles, e-mail:     webmaster@xml.apache.org
> > To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> > For additional commands, e-mail: general-help@xml.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
>
>

Mime
View raw message