OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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 <peterfleck@gmail.com> 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.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]