Re: LibXML: How do I serialize an attribute like this Attr="{" to file
by Bart Schuller other posts by this author
Jan 20 2004 8:45AM messages near this date
view in the new Beta List Site
RE: LibXML: How do I serialize an attribute like this Attr="{" to file
|
Re: LibXML: How do I serialize an attribute like this Attr="{" to file
On Tue, Jan 20, 2004 at 11:07:44AM +0800, Derek_Chen@[...].tw wrote:
> If I want to have an output as below
> <?xml version="1.0"?>
> <A><AA Attr="ƒ">xxx</AA></A>
>
> I have to use setAttribute("Attr",chr(131)). But executing this call
> will get me the following error Can't coerce UNKNOWN to string in
> entersub at C:/Perl/site/lib/XML/LibXML.pm line 756.
It's worth pointing out that Unicode character number 131 does not
exist, and so an XML document containing ƒ is not well-formed.
--
Bart.
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Bart Schuller
Bjoern Hoehrmann
|