Inline address components
Peter Fleck <[email protected]> Thu, 18 Oct 2018 10:16:37 +0200
| Newsgroups | gmane.text.docbook.misc |
|---|---|
| Message-ID | <[email protected]> |
If I have some text like this: <para>Lorem ipsum dolor sit amet,*Edinburgh* consectetur adipiscing*Scotland* elit. Aenean eu finibus sapien.</para> And I want to mark it up with semantic information for items like <country> or <city> etc and not be displayed “verbatim”, to validate I currently would need to put them in address: <para>Lorem ipsum dolor sit amet,*<address><city>Edinburgh</city></address>* consectetur adipiscing*<address><country>Scotland</country></address>* elit. Aenean eu finibus sapien.</para> For me, this context is not an address but I still want the semantic of <city> etc. Does it make sense to allow <address> children to be a child of <para> as well? Or should I mark this type of semantic information differently? For example, <phrase role="city">Edinburgh</phrase>? <para>Lorem ipsum dolor sit amet,*<city>Edinburgh</city> *consectetur adipiscing*<country>Scotland</country>* elit. Aenean eu finibus sapien.</para> Peter