[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XalanTransformer help needed ASAP
Hi all, I am using C++ XalanTransformer with a DOM Input and this is the code segment. long CEOMsgEvntCurrCycle::processXSLOutput(const DOM_Document doc) { //Apply style sheet and put it in a flat file // Set up a XercesParserLiaison and use it to wrap the DOM_Document // in a XalanDocument. // Initialise XMLPlatformUtils::Initialize(); XalanTransformer::initialize(); XalanTransformer theXalanTransformer; XercesDOMSupport theDOMSupport; XercesParserLiaison theParserLiaison(theDOMSupport); XalanDocument* theDoc = theParserLiaison.createDocument(doc); // Use the XalanDocument to create an XSLTInputSource object, which // you can then use in a transformation. XSLTInputSource theInputSource(theDoc); ...... the rest of the code } I am getting this error. Any thoughts would be appreciated. I looked at the XSLTINput and it has a constructor that takes in a XalanNode* . Why is it an error? Error 226: "CEOMsgEvntCurrCycle.C", line 393 # No appropriate function found for call of 'XSLTInputSource::XSLTInputSource'. Last viable candidate was "XSLTInputSource::XSLTInputSource(const unsigned short *)" ["/upapps/ceo/xml-xalan/c/src/XSLT/XSLTInputSource.hpp", line 110]. Argument of type 'XalanDocument *' could not be converted to 'const unsigned short *'. XSLTInputSource theInputSource(theDoc); ^^^^^^^^^^^^^^ Thanks, Akila Ramakrishnan (314) 768 5809 axramakr@xxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|