Question

As stated in the title, i'm looking for an XML schema (XSD-file) for the Glade markup language?

Wikipedia states that Glade is a schema based markup language (list of schemas at wikipedia). I tried to search the web, wikipedia and the glade website,but i couldn't find an XSD for Glade.

Thx, Juve

Was it helpful?

Solution

There's nothing that will explicitly tie down the glade to an particular schema since it's all run-time based.

You may find the .defs files generated by PyGTK useful. If you really need an XSD file, you should be able to create one from these files.

This looks like the main one, there's more in that directory.

OTHER TIPS

Thx, this is a first start. I assume there is no document that is more explicit that this DTD? This DTD only specyfies what (global) tags can be used. Especially for the tag <widget> i would like a have constraints on the attribute "class" (as supported by XSD). The XSD should cover that there are only certain values for the <widgets'> "class" attribute, like GtKTreeView, etc.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top