Debian Codegraph @

test/data/my_plugin.rnc

raw
1 namespace rng = "http://relaxng.org/ns/structure/1.0"
2 namespace xsi = "http://www.w3.org/2001/XMLSchema-instance"
3 datatypes xsd = "http://www.w3.org/2001/XMLSchema-datatypes"
4 namespace my_plugin = "http://www.my_plugin.com"
5
6 start =
7 k.my_feature
8
9 div {
10 k.my_feature.attlist = empty
11 k.my_feature =
12 element my_plugin:my_feature {
13 k.my_feature.attlist &
14 k.title
15 }
16 }
17
18 div {
19 k.title.name.attribute =
20 attribute name { text }
21 k.title.attlist = k.title.name.attribute
22 k.title =
23 element my_plugin:title {
24 k.title.attlist
25 }
26 }