Hi Jaspreet,

The XercesDocumentWrapper class has a method mapNode() which can be used for
converting a DOMNode to a XalanNode and vice versa.
First you should create a XercesDocumentWrapper object from your DOMDocument
and then use its mapNode function.

This could solve your problem.

-Ashay.

-----Original Message-----
From: Jaspreet Singh [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 12:12 PM
To: [email protected]
Subject: converting a DOMNode to XalanNode


Hi all
        how do i convert a domnode to a xalannode ? i am trying to provide a
dom interface over my application and while using xalan i have to pass it a
xalan node. so i have to convert my domnode to what xalan requires - a xalan
node. how do i do that ? the domnode is actually the dom document element.

Thanks,
Jaspreet

My compiler compiled yours - Seen on a VC++.Net T-Shirt


Reply via email to