Re: Inline address components
Dave Pawson <[email protected]> Thu, 18 Oct 2018 13:01:21 +0100
| Newsgroups | gmane.text.docbook.misc |
|---|---|
| Message-ID | <CAEncD4cEp0ZgMRoHzYHENrxgd2Z59HMs4o=7tmbCMuP02vvbFQ@mail.gmail.com> |
Not an address, as you say Peter. <phrase/> seems appropriate, since that's all it is? Happens to contain a village / town / city etc? HTH On Thu, 18 Oct 2018 at 09:16, Peter Fleck <[email protected]> wrote: > > 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 -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ.