Re: [xslt] XSLT and doctype



Peter Lenderyou writes:
> 
> if I run xsltproc with the 2 files I get
> 
>         True
>         window1
>         GTK_WINDOW_TOPLEVEL
>         GTK_WIN_POS_NONE
>         False
>         500
>         400
>         True
>         False
>    
> 
> If I run xsltproc --novalid with the 2 files I get 
> 
>  
>        In the main Glade bit
> 
> It also works if I take the DOCTYPE out of the XML file
> 
It would be very helpful if you'd tell us, what doctype you use and
where the dtd can be found.

If it's http://glade.gnome.org/glade-2.0.dtd (thanks to google)
the dtd declares 
<!ATTLIST glade-interface
  xmlns CDATA #FIXED 'http://glade.gnome.org/glade-2.0.dtd' >
so with dtd your glade-interface is in namespace 
http://glade.gnome.org/glade-2.0.dtd and won't be matched 
without this namespace.

Morus



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