Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - MSXML 3.0 >Thread Next - Re: MSXML 3.0 Re: MSXML 3.0To: NULL Date: 10/6/2005 5:41:00 PM Petar Popara wrote: > I'm using MSXML to transform from XML into HTML using XSL. How can I tell > MSXML in which encoding resulting HTML should be? Do I have to put it in > stylesheet or MSXML have property for it or both is possible? Use <xsl:output encoding="desiredEncoding" /> in the stylesheet but understand that you need to transform to a stream or object to have MSXML apply that (e.g. transformNodeToObject(stylesheet, stream)). If you transform to a string with the transformNode method then you get a string which is usually UTF-16 encoded. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
