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] v5 extension elements


Dave Pawson wrote:
> I found it easy enough to create a reduced docbook set.
> 
> wondering about extending it.
> 
> I need to add an element into the basic inlines?
> 
> 
>  <define name="db.ubiq.inlines">
>     <choice>
>       <choice>
>         <ref name="db.inlinemediaobject"/>
>         <ref name="db.remark"/>
>         <ref name="db.superscript"/>
>         <ref name="db.subscript"/>
>         <ref name="db.link.inlines"/>
>         <ref name="db.alt"/>
>     <ref name="shLft"/>
>     <ref name='shRt'/>
>       </choice>
>       <ref name="db.annotation"/>
>       <ref name="db.indexterm"/>
>     </choice>
>   </define>
> 
> 
> Then by own definitions of shLft and shRt.
> 
> Is there any better way of doing this please?

 <define name="db.ubiq.inlines" combine="choice">
  <choice>
    <ref name="shLft"/>
    <ref name='shRt'/>
  </choice>
</define>

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

OpenPGP digital signature



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