Re: [docbook] Inline address components

2018-10-18 Thread Dave Pawson
Not an address, as you say Peter.
 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:
>
> Lorem ipsum dolor sit amet, Edinburgh consectetur adipiscing Scotland 
> elit. Aenean eu finibus sapien.
>
> And I want to mark it up with semantic information for items like  
> or  etc and not be displayed “verbatim”, to validate I currently would 
> need to put them in address:
>
> Lorem ipsum dolor sit amet, Edinburgh 
> consectetur adipiscing Scotland elit. 
> Aenean eu finibus sapien.
>
> For me, this context is not an address but I still want the semantic of 
>  etc. Does it make sense to allow  children to be a child of 
>  as well? Or should I mark this type of semantic information 
> differently? For example, Edinburgh?
>
> Lorem ipsum dolor sit amet, Edinburgh consectetur 
> adipiscing Scotland elit. Aenean eu finibus sapien.
>
> Peter



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.

-
To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-h...@lists.oasis-open.org



Re: [docbook] Inline address components

2018-10-18 Thread Imsieke, Gerrit, le-tex
If you want to avoid extending DocBook with, for example, RDFa, you 
could use @role, as you suggested, or maybe @remap.
Some people might object to this slight misappropriation of @remap, 
which is described as "Provides the name or similar semantic identifier 
assigned to the content in some /previous/ markup scheme.".
We are talking about semantic identifiers in the /same/ markup scheme, 
and these identifiers (city, country, …) are not allowed at the location 
where you’d use @remap.
Edinburgh looks Ok to me, but, as with 
@role, the semantics of its content is not prima facie clear to human or 
machine consumers of you XML. Therefore, if it’s your private data and 
your private processing tool, you could use @role as well. Sometimes 
@role will be used for conveying other information. So you if you 
sometimes use @role also for other purposes, such as providing rendering 
hints, you might revert to @remap in order to avoid space-separated 
keywords within @role. (As an aside, if a city is always to be rendered 
with small-caps, there is no need for Edinburgh, an appropriate styling  for role="city" will 
be sufficient.)


Gerrit


On 18.10.2018 10:16, Peter Fleck wrote:

If I have some text like this:

Lorem ipsum dolor sit amet,*Edinburgh*  consectetur adipiscing*Scotland*  elit. 
Aenean eu finibus sapien.

And I want to mark it up with semantic information for items like 
 or  etc and not be displayed “verbatim”, to validate I 
currently would need to put them in address:


Lorem ipsum dolor sit amet,*Edinburgh*  consectetur 
adipiscing*Scotland*  elit. Aenean eu finibus sapien.

For me, this context is not an address but I still want the semantic of 
 etc. Does it make sense to allow  children to be a child 
of  as well? Or should I mark this type of semantic information 
differently? For example, Edinburgh?


Lorem ipsum dolor sit amet,*Edinburgh *consectetur 
adipiscing*Scotland*  elit. Aenean eu finibus sapien.

Peter



--
Gerrit Imsieke
Geschäftsführer / Managing Director
le-tex publishing services GmbH
Weissenfelser Str. 84, 04229 Leipzig, Germany
Phone +49 341 355356 110, Fax +49 341 355356 510
gerrit.imsi...@le-tex.de, http://www.le-tex.de

Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930

Geschäftsführer / Managing Directors:
Gerrit Imsieke, Svea Jelonek, Thomas Schmidt

-
To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-h...@lists.oasis-open.org



[docbook] Inline address components

2018-10-18 Thread Peter Fleck

If I have some text like this:

Lorem ipsum dolor sit amet,*Edinburgh*  consectetur adipiscing*Scotland*  elit. 
Aenean eu finibus sapien.

And I want to mark it up with semantic information for items like 
 or  etc and not be displayed “verbatim”, to validate I 
currently would need to put them in address:


Lorem ipsum dolor sit amet,*Edinburgh*  consectetur 
adipiscing*Scotland*  elit. Aenean eu finibus sapien.

For me, this context is not an address but I still want the semantic of 
 etc. Does it make sense to allow  children to be a child 
of  as well? Or should I mark this type of semantic information 
differently? For example, Edinburgh?


Lorem ipsum dolor sit amet,*Edinburgh *consectetur 
adipiscing*Scotland*  elit. Aenean eu finibus sapien.

Peter