P5 Version 4.8.1. Last updated on 1st November 2024, revision 0a2bff95a
当該要素は、郵便配達情報にのみ使用されるべきである。 子要素として要素addrLineは、クラスmodel.addrPartにある要 素の代わりとして、例えば、要素streetや要素 <postcode>として使用することができる。
Using just the elements defined by the core module, an address could be represented as follows:
When a schema includes the names and dates module more specific elements such as country or settlement would be preferable over generic name:
<content> <sequence> <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/> <sequence minOccurs="1" maxOccurs="unbounded"> <classRef key="model.addrPart"/> <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/> </sequence> </sequence></content>
<rng:element name="address"> <rng:ref name="att.global.attributes"/> <rng:ref name="att.global.rendition.attributes"/> <rng:ref name="att.global.linking.attributes"/> <rng:ref name="att.global.analytic.attributes"/> <rng:ref name="att.global.facs.attributes"/> <rng:ref name="att.global.change.attributes"/> <rng:ref name="att.global.responsibility.attributes"/> <rng:ref name="att.global.source.attributes"/> <rng:ref name="att.cmc.attributes"/> <rng:group> <rng:zeroOrMore> <rng:ref name="model.global"/> </rng:zeroOrMore> <rng:group> <rng:oneOrMore> <rng:ref name="model.addrPart"/> <rng:zeroOrMore> <rng:ref name="model.global"/> </rng:zeroOrMore> </rng:oneOrMore> </rng:group> </rng:group></rng:element>
element address { att.global.attributes, att.global.rendition.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.global.responsibility.attributes, att.global.source.attributes, att.cmc.attributes, ( model.global*, ( ( model.addrPart, model.global* )+ ) ) }