xsl-list
[Top] [All Lists]

Re: [xsl] Identity transformation for XSLT 2.0

2007-12-17 03:53:24
On 12/17/07, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:
as far as I can see you force an XML declaration that specifies an
a specific encoding but allow the XSLt system to output the result in
its default encoding, this is likely to make the result not well formed.

My solution should work with any encoding, but it defaults to UNICODE
if encoding is not specified in XML declaration. I that case the
correct encoding can be passed in with a parameter or the stylesheet
will fail.

Maybe there is a way to detect encoding if not specified in XML declaration?

Cheers,
Jesper Tverskov

--~------------------------------------------------------------------
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>
--~--