logo       

Re: LibXML: How do I serialize an attribute like this Attr="{" to file: msg#00087

lang.perl.xml

Subject: Re: LibXML: How do I serialize an attribute like this Attr="{" to file

Hi Derek,

Look in the Parser.pod document. By setting the compression level, you can
alter the behavior for empty elements (which normally would be written as
<abc></abc> rather than <abc />) apparently.

Les Richardson

On Mon, 29 Dec 2003 Derek_Chen@xxxxxxxxxxxx wrote:

> Hi,
> I want my xml file having an element like this <abc Attr="&#123;"/>.
> But when I call $doc->toFile it becomes <abc Attr="&amp;#123;">. What should
> I do? Thanks.
>
> Derek
>
> _______________________________________________
> Perl-XML mailing list
> Perl-XML@xxxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>

_______________________________________________
Perl-XML mailing list
Perl-XML@xxxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise