[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XalanTransformer help needed ASAP

Subject: XalanTransformer help needed ASAP
From: AXRAMAKR@xxxxxx
Date: Thu, 23 May 2002 11:03:07 -0500
xalantransformer
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.