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 Berin Lautenbach <be...@ozemail.com.au> on 2003/06/26 09:46:46 UTC

Re: Use of Xerces DOM into Xalan

Shirish,

That's a big question.  Lots of discussion on the mailing list archives, 
but if your aim is to dynamically build and then later modify a DOM 
tree, then you can work with Xerces and when you come to a point where 
you want to perform some form of Xalan based activity (transform or 
XPath etc.) you can wrap the Xerces DOM in the Xalan wrapper classes.

You can also output the results of a transform to a Xerces tree.

Have a look at :

http://xml.apache.org/xalan-c/usagepatterns.html#xercesdomwrapperparsedsource

for a starting point on wrapping Xerces DOM, and the 
TransformToXercesDOM sample code for outputting a transform to Xerces DOM.

Cheers,
	Berin


Shirish Kulkarni wrote:
> Hi, 
> 
> I am trying to use both Xerces and Xalan together in
> my application. Is it possible to us the DOM tree and
> hence APIs in Xalan & Xerces interchangably ? How ? 
> 
> Thanks, 
> Shirish
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>