Re: [xml] xml file parsing error

Thx very much for the help and suggestion!

On 3/13/06, Daniel Veillard <veillard redhat com> wrote:
On Sun, Mar 12, 2006 at 11:44:24PM +0800, Deephay wrote:
> Greetings all,
>   I am just started to work with the xml parser interface, but I have a
> problem here.
> I was trying to parsing a xml file and test if it is ok, I want to get the
> element names
> of the tree, but it just output like this:
> ---
> keyword: glyph
> keyword: text
> ---

perfectly normal

> here's the xml file:
> <glyph>
>         <char codepoint="8AAA">

which is versy different from
<glyph><char codepoint="8AAA">

> Any suggetion  will be quite helpful, thx very much!

Looking at the FAQ and the archives of the mailing-list before posting maybe ?
   item 4


Daniel Veillard      | Red Hat
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]