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

    David> Could you also include a small code snippet, so we can
    David> reproduce it?

I don't know about ALSO - I see there is no selection for reporting
bugs against the CVS code.

Here is my snippet (source and sheet are pointers to XSLTInputSources):

    XercesParserLiaison the_parser_liaison;    
    XalanDocument * document_result = the_parser_liaison.createDocument();
    XSLTResultTarget target ( document_result );

    int result = xalan.transform ( *source, *sheet, target ); 


    XalanElement * element = document_result->getDocumentElement();
    std::cerr << "Document element is " << element << ", " << 
XMLString::transcode ( element->getNodeName().c_str() ) << std::endl;

The above code outputs the document element's node name correctly, as
generated by the transform.

    const DOMDocument * dom_result = the_parser_liaison.mapToXercesDocument( 
document_result );

dom_result now has the value 0;

-- 
Colin Paul Adams
Preston Lancashire

Reply via email to