Hi,

I need to add documentation to some RNG schemas. The standard method of 
doing this appears to be to use the annotations namespace's 
documentation element. However, this only allows plain text (no child 
elements), which means no formatting of the documentation text. So I am 
considering using docbook elements instead - the Relax NG specification 
seems to allow this, I think.

I have experimented a little with XmlMind:

- added the docbook namespace to an RNG file
- added some documentation using  docbook elements
- opened the file in XmlMind

and the result validates.  However, if I  write some invalid docbook, or 
remove the docbook namespace declaration, it still validates. Not too 
surprising, since there is nothing to tell XmlMind where to look for the 
docbook schema. Validation of RNG files in XmlMind appears to be "built 
in" - the addons folder contains no config for RNG. Consequently there 
is nowhere for me to add a reference to the docbook schema.

Is there a way to do what I want to do with XmlMind? Or (supplementary 
question) is what I'm trying to do actually not allowed by the RNG 
schema or  maybe just really stupid?

Hope you can enlighten me a little here...

Kevin Flynn
Escenic AS
Oslo, Norway

Reply via email to