>>>>> "David" == David N Bertoni/Cambridge/IBM <[EMAIL PROTECTED]> writes:

    David> Look in xml-xalan/c/samples/TransformToXercesDOM.  I just
    David> checked in the Makefile support for it, so if you refresh
    David> and do a runConfigure, you can build it.

Hello David,

This code from the sample works:

        FormatterToXercesDOM    theFormatter(theDocument.get(), 0);

        // Do the transformation...
        int             theResult =
                theTransformer.transform(
                        theParsedSource,
                        &theStylesheet,
                        theFormatter);

But I can't figure out which overloaded version of
XalanTransformer::transform it is calling. None of them seem to match.

The reason I need to know, is I am trying to automatically call the
correct transform member, depending on what kind of data was supplied
(i.e. XSLTInputSource or XalanParsedSource or
XalanCompiledStylesheet), and what sort of output is required
(i.e. XSLTResultTarget for a local file or stdout, or else a
FormatterToXercesDOM).

Also there don't seem to be enough versions of the transform call.
-- 
Colin Paul Adams
Preston Lancashire

Reply via email to