Scott Daley wrote:
> I want to define a schema (rather than DTD) that includes or is a
> customisation of Docbook. It have referenced oasis-open.org and found
> schema definitions that are equivalent to DTD. The schema's do not
> appear to be as easily customisable as the DTD's.
> With DTD, removing an element is accomplished by redefining the class
> and changing the entity module definition to IGNORE. I don't see how to
> achieve this with the schema's. Schema's appear to use substitution
> group as the mechanism for inclusion in a 'class'. Elements definitions
> are used to define association to substitution group. I don't see how
> to change these 'associations' to substitution group. 'redefine' and
> 'restriction/extension' work on complex types, not elements.
I would recommend you to base your customization on RELAX NG schema for
DocBook V5. This way you can create customization fairly easily and
resulting schema will work just fine in XXE.
There is tutorial about customizing DB5
http://docbook.org/docs/howto/
If you have further questions regarding DocBook customization you should
direct them to docbook at lists.oasis-open.org.
This list is about XXE, not about DocBook.
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka at kosek.cz http://www.kosek.cz
------------------------------------------------------------------
Profesion?ln? ?kolen? a poradenstv? v oblasti technologi? XML.
Pod?vejte se na n?? nov? spu?t?n? web http://DocBook.cz
Podrobn? p?ehled ?kolen? http://xmlguru.cz/skoleni/
------------------------------------------------------------------
Nejbli??? term?ny ?kolen?:
** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
** XSLT 23.-26.10.2006 ** XML sch?mata 13.-15.11.2006 **
------------------------------------------------------------------
http://xmlguru.cz Blog mostly about XML for English readers
------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3225 bytes
Desc: S/MIME Cryptographic Signature
Url :
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20060620/4029568e/attachment.bin