我在哪里可以找到Glade标记语言的XML模式(XSD文件)?

时间:2022-07-02 15:08:04

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

如标题中所述,我正在寻找Glade标记语言的XML模式(XSD文件)?

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.

*声称Glade是一种基于模式的标记语言(*上的模式列表)。我试图搜索网络,*和林间空地网站,但我找不到Glade的XSD。

Thx, Juve

3 个解决方案

#1


1  

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.

您可能会发现PyGTK生成的.defs文件很有用。如果您确实需要XSD文件,则应该能够从这些文件中创建一个。

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

这看起来像是主要的,在该目录中还有更多。

#2


1  

http://svn.async.com.br/cgi-bin/viewvc.cgi/libglade/glade-2.0.dtd?view=markup

(The main version @ http://glade.gnome.org/glade-2.0.dtd doesn't seem to be working)

(主要版本@ http://glade.gnome.org/glade-2.0.dtd似乎不起作用)

#3


0  

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.

谢谢,这是第一次开始。我假设这个DTD没有更明确的文档?此DTD仅指定可以使用的(全局)标记。特别是对于标签 ,我希望对属性“class”有限制(由XSD支持)。 XSD应该涵盖 “class”属性只有某些值,比如GtKTreeView等。 '>

#1


1  

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.

您可能会发现PyGTK生成的.defs文件很有用。如果您确实需要XSD文件,则应该能够从这些文件中创建一个。

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

这看起来像是主要的,在该目录中还有更多。

#2


1  

http://svn.async.com.br/cgi-bin/viewvc.cgi/libglade/glade-2.0.dtd?view=markup

(The main version @ http://glade.gnome.org/glade-2.0.dtd doesn't seem to be working)

(主要版本@ http://glade.gnome.org/glade-2.0.dtd似乎不起作用)

#3


0  

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.

谢谢,这是第一次开始。我假设这个DTD没有更明确的文档?此DTD仅指定可以使用的(全局)标记。特别是对于标签 ,我希望对属性“class”有限制(由XSD支持)。 XSD应该涵盖 “class”属性只有某些值,比如GtKTreeView等。 '>