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>

<!-- DP Addition -->
<include href="poem.rng"/>



I have a chapter/section/poem element, i.e.
I want the poem to go wherever a para could go.

Jing reports

x.xml:14:9: error: element "para" from namespace "http://docbook.org/ns/docbook"; not allowed in this context

para is a preceding-sibling of poem.

Any suggestions please.


regards

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to