You mean like that?

    XercesDOMSupport    theDOMSupport;
    XercesParserLiaison theParserLiaison(theDOMSupport);
    XalanDocument*      xalanDoc = theParserLiaison.createDocument(m_doc);
    XSLTInputSource     domIn(xalanDoc);
    XSLTInputSource     theXsl(xslFile);
    XalanDOMString      target(outFile);
    XSLTResultTarget    theResultTarget(target);
    XalanTransformer    theXalanTransformer;
    theXalanTransformer.transform(domIn,theXsl,theResultTarget);

That used to work with 1.1 but not 1.2 because XalanTransformer doesn't
support it (that's what I understood from older messages).
Any hint how to do it differently is appreciated. A code snippet would
be great.

Thank you,
Achim

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 05, 2001 3:34 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: DOM Input woes



>I am trying to transform a xerces DOM that is created dynamically, but
after going through the archieves, it >appears that this cannot be
accomplished in ver.1.2.

Sure it can. Wrap a DOMSource around your DOM, pass that to Xalan.



Reply via email to