[xml] Parser error: html entities not defined

2007-09-04 Thread Bruno Dilly
Hi people, I'm trying to parse RSS with html entities, but I'm having the following errors when it tries to parse the rss file: Entity 'ntilde' not defined; Entity 'iacute' not defined; and others. I tried to find the solution in the libxml2 documentation and in the list archives, but I didn't

Re: [xml] Parser error: html entities not defined

2007-09-04 Thread Daniel Veillard
On Tue, Sep 04, 2007 at 06:39:01AM -0300, Bruno Dilly wrote: Hi people, I'm trying to parse RSS with html entities, but I'm having the following errors when it tries to parse the rss file: Entity 'ntilde' not defined; Entity 'iacute' not defined; and others. are the HTML entities

[xml] save a part of the tree maitaining the hierarchy from root.

2007-09-04 Thread Senthil Nathan
Hi All, I would like to know how to save a part of a DOM tree, by maintaining the hierarchy from the root based on an attribute/tag. Suppose orig.xml is as below, Root Parent Child1 Apply=1 Value100/Value Child2 Value0/Value /Parent /Root I

Re: [xml] Parser error: html entities not defined

2007-09-04 Thread Liam R E Quin
On Tue, 2007-09-04 at 07:01 -0400, Daniel Veillard wrote: On Tue, Sep 04, 2007 at 06:39:01AM -0300, Bruno Dilly wrote: Hi people, I'm trying to parse RSS with html entities, but I'm having the following errors when it tries to parse the rss file: Entity 'ntilde' not defined; Entity

[xml] Adding encoding attribute

2007-09-04 Thread Steve Van Esch
Hi, Another beginner question I'm sure. I can't figure out how to add an encoding attribute to the document. ?xml version=1.0 encoding=UTF-8? I only have the following: ?xml version=1.0? Am I onto something with xmlNewDocProp? I don't see how to add/link the new attribute to