Dave Pawson wrote:
> Further effort to extend, this time a block level element.
> 
> <include href="/sgml/docbook/v5/docbook.rng">
>   <define name="db.para.blocks" combine='choice'>
>     <oneOrMore>  <ref name="poem"/> </oneOrMore>
>   </define>
> </include>

Nesting define inside include works like redefinition. Your schema
should look like:

<include ...docbook.rng/>

<include ...poem.rng/>

<define name="db.para.blocks" combine="choice">
  ...
</define>

Or you can simply add this last define directly inside poem.rng.

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: [EMAIL PROTECTED]      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
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to