[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-xml
Subject:    Re: How to remove namespace declaration?
From:       Christian Glahn <christian.glahn () uibk ! ac ! at>
Date:       2003-06-26 15:57:55
[Download RAW message or body]

On Thu, Jun 26, 2003 at 11:32:09AM +0200, Robin Berjon wrote:
> Christian Glahn wrote:
> >On Thu, Jun 26, 2003 at 09:03:11AM +0100, Steve Hay wrote:
> >>It sounds like parse_xml_chunk() is just what I need, but it's not 
> >>documented in the LibXML manpages!
> >
> >That's a know issue (I'll fix it with 1.55)
> >
> >The synopsis is simple:
> >
> >   $parser->parse_xml_chunk( $wb_chunk, $encoding );
> >
> >where encoding is optional (Default is UTF8)
> >
> >One can parse any well-balanced XML chunk with this function, not just 
> >well-formed documents.
> 
> What does it return, a DocumentFragment?

yes. Sorry for not mentioning. Since all insert functions accept document 
fragments, one can insert a docfrag directly into a document without causing 
inconsitencies.

christian
_______________________________________________
Perl-XML mailing list
Perl-XML@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic