Hi Colin,

It's calling this one, I think:

      int
      transform(
                  const XalanParsedSource&            theParsedXML,
                  const XalanCompiledStylesheet*
theCompiledStylesheet,
                  const XSLTResultTarget&             theResultTarget);

We've added a few more overloads of transform() for the next release, but
we add them reluctantly, as the potential matrix of overloads is enormous.

Dave



|---------+--------------------------->
|         |           Colin Paul Adams|
|         |           <[EMAIL PROTECTED]|
|         |           mon.co.uk>      |
|         |                           |
|         |           02/23/2003 10:02|
|         |           AM              |
|---------+--------------------------->
  
>--------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                   |
  |        To:      [email protected]                                
                                                   |
  |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                        
                                                   |
  |        Subject: Re: XercesParserLiaison::mapToXercesDocument is not working 
(?)                                                |
  
>--------------------------------------------------------------------------------------------------------------------------------|



>>>>> "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