You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Indrajit Bhattacharya <in...@rediffmail.com> on 2007/02/21 15:53:55 UTC

XSLT question

Hi,

I have yet another query and need help from you. This is regarding XSLT.

I have application data as Xercesc DOM nodes. Can I do XSLT transform on the root node ? In the sample XalanTransform, it takes one input XML file, one XSL file and produces an output file. 
In my case, I will have xerces DOM root node pointer and XSL file. Can I run transform function of the XalanTransformer object with my data ?

How to convert xerces DOM node to XSLTInputSource type ?

Awaiting your reply.

Thanks in advance.

Regards,
Indrajit

Re: XSLT question

Posted by David Bertoni <db...@apache.org>.
Indrajit Bhattacharya wrote:
> Hi,
> 
> I have yet another query and need help from you. This is regarding XSLT.
> 
> I have application data as Xercesc DOM nodes. Can I do XSLT transform on 
> the root node ? In the sample XalanTransform, it takes one input XML 
> file, one XSL file and produces an output file.
> In my case, I will have xerces DOM root node pointer and XSL file. Can I 
> run transform function of the XalanTransformer object with my data ?

Wrapping the Xerces-C DOM for an XSLT transformation is exactly the same as 
wrapping it for use with the XPathEvaluator.

Dave