On Thursday 03 March 2005 19:51, André Pedralho wrote:

> 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!

You get an error because you need to close the 'DT' element from line 7 before 
closing the DL element from line 5. In other words: there's a '</DT>' missing 
in lines 4, 7 and 9.

Cheers
 -Tim
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to