xsl-list
[Top] [All Lists]

[xsl] How to convert XML doc from UTF-8 to ISO-8859-1 char encoding?

2010-01-11 08:30:41
Assume I have a XML doc which is UTF-8 encoded.

Can I convert it somehow to ISO-8859-1 encoding?

And how to  encode it the opposite direction?

Normally the encoding is defined in an attribute in the top most <xml> tag.
Is there a way to detect if this declaration is true and corresponds with the 
real encoding in the full XML doc?
Or if it is faked/misplaced by mistake?

Ben






--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>