summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/etc/schema/xinclude.rnc
blob: cbda97990eea451bf89ab5f5adee912ad68e44ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
default namespace = "http://www.w3.org/2001/XInclude"
namespace xi = "http://www.w3.org/2001/XInclude"

xi.include.attlist =
   attribute href     { xsd:anyURI }?,
   attribute parse    { "xml" | "text" }?,
   attribute xpointer { xsd:string }?,
   attribute encoding { xsd:string }?,
   attribute accept   { xsd:string }?,
   attribute accept-language { xsd:string }?

xi.include.attlist.extra =
   attribute * - xi.include.attlist { text }*

xi.include =
   element xi:include {
      xi.include.attlist,
      xi.include.attlist.extra,
      (xi.fallback? | xi.include.extra)*
   }

xi.include.extra = notAllowed

xi.fallback.attlist =
   attribute * { text }*

xi.fallback =
   element xi:fallback {
      xi.fallback.attlist, 
      (xi.include | xi.fallback.extra)*
   }

xi.fallback.extra = notAllowed

xi.class = xi.include | xi.fallback