Next in thread → Next in month →

Re: [docbook] Inline address components

From
Dave Pawson <>
Date
2018-10-18T12:01:34+00:00
ID
CAEncD4cEp0ZgMRoHzYHENrxgd2Z59HMs4o=
Thread
Re: [docbook] Inline address components
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 <> 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.
Next in thread → Next in month →