OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: [docbook-apps] docbook tiny


Hi Jirka.
> 
> default namespace db = "http://docbook.org/ns/docbook";
> 
> include "docbook.rnc"
> {
>     db.itemizedlist =
>      element itemizedlist {
>         db.itemizedlist.attlist,
>         db.itemizedlist.info,
>         db.listitem+
>       }
> }
> 
> Note that for each DocBook element there is a corresponding db.* named 
> pattern to make redefinition easy.


To which jing responds
[dpawson@marge files]$ jing -c dbtiny.rnc dbtiny1.xml
Usage: jing [-c] schemaFile instance instance instance
/sgml/files/dbtiny.rnc:56:2: error: multiple definitions of
"db.itemizedlist" without "combine" attribute

I.e. its not working like xsl:import!

db.itemizedlist =
    
    ## A list in which each entry is marked with a bullet or other
dingbat
    element itemizedlist {
      db.itemizedlist.attlist,
      db.itemizedlist.info,
      db.all.blocks &= notAllowed,
      db.listitem+
    }

Seems better, but is still in error.

So I can't simply -redefine it,
I can't combine using notAllowed....

Any other suggestions please





regards DaveP

> 
-- 
Regards, 

Dave Pawson
XSLT + Docbook FAQ
http://www.dpawson.co.uk



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