769eafb483
Flectra is Forked from Odoo v11 commit : (6135e82d73
)
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<rng:grammar xmlns:rng="http://relaxng.org/ns/structure/1.0"
|
|
xmlns:a="http://relaxng.org/ns/annotation/1.0"
|
|
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
|
<!-- Handling of element overloading when inheriting from a base
|
|
template
|
|
-->
|
|
<rng:include href="common.rng"/>
|
|
<rng:define name="search">
|
|
<rng:element name="search">
|
|
<rng:ref name="overload"/>
|
|
<rng:optional><rng:attribute name="string"/></rng:optional>
|
|
<rng:zeroOrMore>
|
|
<rng:choice>
|
|
<rng:ref name="field"/>
|
|
<rng:ref name="group"/>
|
|
<rng:ref name="separator"/>
|
|
<rng:ref name="filter"/>
|
|
<rng:element name="newline"><rng:empty/></rng:element>
|
|
</rng:choice>
|
|
</rng:zeroOrMore>
|
|
</rng:element>
|
|
</rng:define>
|
|
<rng:start>
|
|
<rng:choice>
|
|
<rng:ref name="search" />
|
|
</rng:choice>
|
|
</rng:start>
|
|
</rng:grammar>
|