"Richard Koch" <ri**********@aon.at> wrote in message
news:40***********************@newsreader01.highwa y.telekom.at...
Sorry, but I do not know what you mean...
Read your MSXML4 SDK Documentation. Here's how the second argument to the
method is described:
"outputObject
An object. On return, contains the product of the transformation of this XML
document based on the XSLT style sheet. If the variant represents the
DOMDocument object, the document is built according to its properties and
its child nodes are replaced during this transformation process. The XML
transformation can also be sent to a stream. "
mk:@MSITStore:C:\Program%20Files\MSXML%204.0\doc\x mlsdk.chm::/htm/xml_mth_sz
_2jp0.htm
Note the last sentence. This is what you need. If the result tree does not
represent a well-formed xml document (e.g. has more than one top element),
the outputObject cannot be a XMLDOMDocument object. But it still can be any
stream object (one that supports the IStream interface) and the stream
object will process (e.g. write to a file) it.
This is a FAQ -- see for example:
http://sources.redhat.com/ml/xsl-lis.../msg01310.html
Cheers,
Dimitre Novatchev [XML MVP],
FXSL developer, XML Insider,
http://fxsl.sourceforge.net/ -- the home of FXSL
Resume:
http://fxsl.sf.net/DNovatchev/Resume/Res.html