Oops, meant to post this to the list. Dave
----- Forwarded by David N Bertoni/CAM/Lotus on 01/30/2002 05:03 PM -----
David N Bertoni
To: Arun Ramdas <[EMAIL
PROTECTED]>
01/30/2002 05:01 cc:
PM Subject: Re: problem with
sample(Document link: David N Bertoni)
Include the appropriate header file:
#include <XalanDOM/XalanDocument.hpp>
Dave
Arun Ramdas
<[EMAIL PROTECTED] To:
[email protected]
com> cc: (bcc: David N
Bertoni/CAM/Lotus)
Subject: problem with sample
01/30/2002 03:43
PM
Hi,
I am trying out a sample posted in xml.apache.org site. I am getting a
compilation error on this code...
the code piece:
// Use the Xerces DOM parser to create a DOM_Document.
#include <parsers/DOMParser.hpp>
#include <dom/DOM_Node.hpp>
// Set up a XercesParserLiaison and use it to wrap the DOM_Document
// in a XalanDocument.
XercesDOMSupport theDOMSupport;
XercesParserLiaison theParserLiaison(theDOMSupport);
XalanDocument* theDoc = theParserLiaison.createDocument(theDOM);
// Use the XalanDocument to create an XSLTInputSource object, which
// you can then use in a transformation.
275: XSLTInputSource theInputSource(theDoc);
line 275: Error: Cannot use XalanDocument* to initialize XSLTInputSource
I believe i need to covert get XalanNode from XalanDoc before passing on
XSLTInputSource
Can u let me know how to do that?
Thanks in Advance
Arun
