lib/metanorma/iho/biblio.rng in metanorma-iho-0.5.8 vs lib/metanorma/iho/biblio.rng in metanorma-iho-0.6.0

- old
+ new

@@ -849,19 +849,48 @@ <text/> </element> </define> <define name="bplace"> <element name="place"> - <optional> - <attribute name="uri"> - <data type="anyURI"/> - </attribute> - </optional> - <optional> - <attribute name="region"/> - </optional> + <choice> + <text/> + <group> + <ref name="bibliocity"/> + <zeroOrMore> + <ref name="biblioregion"/> + </zeroOrMore> + <zeroOrMore> + <ref name="bibliocountry"/> + </zeroOrMore> + </group> + </choice> + </element> + </define> + <define name="bibliocity"> + <element name="city"> <text/> </element> + </define> + <define name="biblioregion"> + <element name="region"> + <ref name="RegionType"/> + </element> + </define> + <define name="bibliocountry"> + <element name="country"> + <ref name="RegionType"/> + </element> + </define> + <define name="RegionType"> + <optional> + <attribute name="iso"/> + </optional> + <optional> + <attribute name="recommended"> + <data type="boolean"/> + </attribute> + </optional> + <text/> </define> <define name="bprice"> <element name="price"> <attribute name="currency"/> <text/>