initial commit
[emacs-init.git] / nxhtml / etc / schema / xinclude.rnc
1 default namespace = "http://www.w3.org/2001/XInclude"
2 namespace xi = "http://www.w3.org/2001/XInclude"
3
4 xi.include.attlist =
5    attribute href     { xsd:anyURI }?,
6    attribute parse    { "xml" | "text" }?,
7    attribute xpointer { xsd:string }?,
8    attribute encoding { xsd:string }?,
9    attribute accept   { xsd:string }?,
10    attribute accept-language { xsd:string }?
11
12 xi.include.attlist.extra =
13    attribute * - xi.include.attlist { text }*
14
15 xi.include =
16    element xi:include {
17       xi.include.attlist,
18       xi.include.attlist.extra,
19       (xi.fallback? | xi.include.extra)*
20    }
21
22 xi.include.extra = notAllowed
23
24 xi.fallback.attlist =
25    attribute * { text }*
26
27 xi.fallback =
28    element xi:fallback {
29       xi.fallback.attlist, 
30       (xi.include | xi.fallback.extra)*
31    }
32
33 xi.fallback.extra = notAllowed
34
35 xi.class = xi.include | xi.fallback