Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Text output with MSXML? Text output with MSXML?To: NULL Date: 7/1/2004 12:37:00 PM I have a problem with creating text output from XSL transformations.
Basically, when I use code like
oXMLDoc.transformNodeToObject(oXSLDoc, oXMLDoc);
oXMLDoc.save(strOutputFileName);
the resulting file is always empty, if the XSL has
<xsl:output method="text"> (things are fine for xml and html output
methods).
If I use the transformNode method instead to write the result to a string,
then write the string to a file, it works for text output, but causes a lot
of problem with character encoding. Is there a better way to handle XSL
transformations that can deal with all output methods without requiring
special case treatment?
--
----
-----------------------------------------------------------------------
[Insert joke here.] ----
--
anba@s... (Andreas Baus)
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
