initial commit
[emacs-init.git] / nxhtml / etc / schema / old-genshi.rnc
1 namespace py = "http://genshi.edgewall.org/"
2
3 genshi.expr-type    = xsd:string { minLength = "1" }
4 genshi.with-type    = xsd:string { minLength = "1" }
5 genshi.choose-type  = xsd:string
6 genshi.def-type   = xsd:string
7 genshi.xpath-type = xsd:anyURI
8
9 genshi.attrib = attribute py:if        { genshi.expr-type   }?,
10                 attribute py:choose    { genshi.choose-type }?,
11                 attribute py:when      { genshi.expr-type   }?,
12                 attribute py:otherwise { genshi.expr-type   }?,
13                 attribute py:for       { genshi.expr-type   }?,
14                 attribute py:def       { genshi.def-type    }?,
15                 attribute py:match     { genshi.xpath-type  }?,
16                 attribute py:with      { genshi.with-type   }?,
17                 attribute py:attrs     { genshi.expr-type   }?,
18                 attribute py:content   { genshi.expr-type   }?,
19                 attribute py:replace   { genshi.expr-type   }?,
20                 attribute py:strip     { genshi.expr-type   }?
21
22 genshi.if.attlist   = attribute test { genshi.expr-type }
23 genshi.for.attlist  = attribute each { genshi.expr-type }
24 genshi.def.attlist  = attribute function { genshi.expr-type }
25 genshi.with.attlist = attribute vars { genshi.with-type }
26 genshi.match.attlist = attribute path { genshi.xpath-type },
27                        attribute buffer { genshi.expr-type }?,
28                        attribute once { genshi.expr-type }?,
29                        attribute recursive { genshi.expr-type }?
30
31