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] Linking to an Unknown Amount of Targets (1:n relationships)?


Hi Bob,

On Fri, 19 Jul 2013 09:17:23 -0700
"Bob Stayton" <bobs@sagehill.net> wrote:

> [...]
> For example, you could put an annotation in the info of each topic to 
> identify its group:
> 
> <annotation role="group1" annotates="topicid"/>
> 
> where 'topicid' is the xml:id of that topic, because annotations are
> not linked by family position.
>
> The role could list multiple groups that the topic participates in,
> if appropriate.
> 
> In the location where you want a See Also list to appear, you could
> put a special para to identify the group:
> 
> <para role="seealso">group1</para>
> 
> The custom template for that para could use XPath to locate all
> annotation elements whose role attribute matches the group name, and
> then process the elements identified by the topicids as links,
> presented in a list form.

Thanks for sharing your idea. I will look into this.



-- 
Gruß/Regards,
    Thomas Schraitle


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