Rico Schäpe wrote:
> I want to add the encoding ISO-8859-1 to the XML declaration and used the
> method setCodeset("ISO-8859-1"), but nothing happens. What do I have to do
> for setting the encoding in the XML document by the library of ecs ?
what setCodeset() in the XMLDocument does is actually set the encoding used
when the document is outputted to that value, it doesn't set the encoding
attribute in the xml declaration. as the XMLDocument class stands at the
moment, there isn't (as far as i can tell) any way to set the encoding
attribute.
to my mind, this is probably a deficency that should be fixed. i'll raised in
the dev list but it'd be good if you'd tell me what you think would be best
eg.
1. adding in a setEncoding() method
or
2. making the setCodeset() method set the encoding attribute as well as the
output codeset.
- robert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]