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


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



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