Hi There,

    You use the XercesDOMWrapperParsedSource so that you can use the Xalan
transformer.

It looks somthing like this:

parser->parse(src);
//get the document
doc = parser->getDocument();
//used to help convert a Xerces COM tree into a Xalan DOM tree
XercesDOMSupport supporter;
XercesParserLiaison liaison;
//let the wrapper know the it does not have a id
XalanDOMString uri("");
XercesDOMParser *parser;
//create a new wrapper used to 'wrap' the Xerces DOM into a Xalan DOM
XercesDOMWrapperParsedSource wrapper(doc, liaison, supporter, uri);
//transform file
transformer->transform(wrapper,stylesheetName,target);


Thanks

Pete


-----Original Message-----
From: Sami Islam [mailto:[EMAIL PROTECTED]
Sent: 26 April 2004 12:20
To: Xalan User List; Xalan Dev List
Subject: Using Xerces DOMDocument with Xalan Xpath.


Hello,
I parsed an XML Document in Xerces DOMDocument. I would like to use Xalan
XPath to obtain particular information and values from my XML document. How
can I use the DOMDocument from Xerces in Xalan?


Regards,
Sami Islam
Software Entwickler
DeTeWe Informationssysteme + Consulting GmbH
Abteilung Healthcare
--
Lilienthalstrasse 5
D-30916 Isernhagen
Telefon: +49 (0)511/368499-843
Telefax: +49 (0)511/368499-88
E-mail:  [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to