2009/3/30  <[email protected]>:
> Michael Kay wrote:
>> When you include the GML and ISM namespaces,
>> override the definition of "start".
>
> Could you provide an example, or point to one?


http://books.xmlschemata.org/relaxng/relax-CHP-5-SECT-3.html
and
http://books.xmlschemata.org/relaxng/ch17-77209.html
note:
  ( attribute combine { "choice" | "interleave" }? ),


If you use two 'simple' start elements, you need to understand
the include mechanism which has priorities.

If you want to 'combine' the starts, i.e. let any one
of the defined start elements occur, then use the combine
attribute

docbook is explicit
 <start >
    <choice>
      <choice>
        <ref name="db.set"/>
        <ref name="db.book"/>
        <ref name="db.divisions"/>
        <ref name="db.components"/>
        <ref name="db.navigation.components"/>
        <ref name="db.section"/>
        <ref name="db.para"/>
      </choice>
      <choice>
        <ref name="db.sect1"/>
        <ref name="db.sect2"/>
        <ref name="db.sect3"/>
        <ref name="db.sect4"/>
        <ref name="db.sect5"/>
      </choice>
      <choice>
        <ref name="db.refentry"/>
        <ref name="db.refsection"/>
      </choice>
      <choice>
        <ref name="db.refsect1"/>
        <ref name="db.refsect2"/>
        <ref name="db.refsect3"/>
      </choice>
      <ref name="db.setindex"/>
    </choice>
  </start>

If you have multiple start elements, the same effect may be obtained
using

<start combine='choice'>
 ....


HTH



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

Reply via email to