Just out of curiosity - why???

----- Original Message ----- 
From: "Edwin Dankert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 28, 2003 9:01 AM
Subject: Re: Asking again: [dom4j-user] dom4j - get xml encoding?


> Hello David,
>
> You can't get the XML Encoding. Not with dom4j or Xerces, or any other XML
> processing tool that I know. (Please correct me.)
>
> You'll have to parse this yourself. (or will have to ask your users to
> specify the encoding)
>
> To parse this yourself, please follow the procedure as described in the
XML
> 1.0 specification:
> http://www.w3.org/TR/REC-xml#sec-guessing
>
> Edwin Dankert
> Cladonia Ltd.
> http://www.cladonia.com/
>
> ----- Original Message -----
> From: "David Thielen"
> Sent: Tuesday, October 28, 2003 2:42 PM
> Subject: Asking again: [dom4j-user] dom4j - get xml encoding?
>
>
>
>   ----- Original Message -----
>   From: David Thielen
>   To: [EMAIL PROTECTED]
>   Sent: Sunday, October 26, 2003 3:39 PM
>   Subject: [dom4j-user] dom4j - get xml encoding?
>
>
>   Hi;
>
>   If the first line of my xml file is:
>
>   <?xml version='1.0' encoding='big5'?>
>
>   How do I get the encoding (big5) from dom4j?
>
>   thanks - dave
>
>
>



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to