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 ?

   http://xmlsoft.org/FAQ.html#Developer
   item 4

Daniel

--
Daniel Veillard      | Red Hat http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit   http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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