glib and XML



I'm building an app that uses the GLib simple XML subset parser
(http://developer.gnome.org/doc/API/2.0/glib/glib-Simple-XML-Subset-Parser.html),
but I'm getting a problem at this!
My XML has some recursions e.g.

1 <DL>
2    <DT>some text
3    <A HREF=some url>some name</A>
4    <DT>some text
5    <DL>
6       <A HREF=another url>another name</A>
7       <DT>some text
8     </DL>
9     <DT>some text
10   <A HREF=some url>some name</A>
11 </DL>

How can you see, there is a <DL> (line 5) tag inside a <DL> (line 1) tag!
But I get a parse error when the </DL> (line 8) is found!

Someone can help me? I use the GLib 2.6.3-1 and GTK 2.6.2-3!



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