Mike Maxwell wrote:
> I have been trying unsuccessfully to add some elements to DocBook v5 and 
> display them in XMLmind.  I realize that the first part of that 
> (modifying the DB5 schema) is outside the scope of this mailing list, 
> but the second part should be in-scope.  Unfortunately, I don't know 
> whether my failure is with the first or second part.  My guess is that 
> I'm doing something wrong in the .xxe file, but that's only a guess; all 
> I really know is that XMLmind tells me that I can't have one of my added 
> elements in the location where I think it should go.
> 
> (The specific error msg is "element 'foo.bar' from namespace 
> <myNamespace> not allowed in this context".  So it's quite possible the 
> error is in my schema...but I've modeled it after the schema in example 
> 4 of http://www.docbook.org/docs/howto/#customizations, so I *think* 
> it's correct.)
> 
> Would it be possible to create a simple example--similar to the existing 
> example3.rng, but based on adding some element to the DB5 schema?  And 
> including the .rng/.rnc, .xxe, .css and .xml files.
> 

--> See attached files.

*Trick*: the .xxe file is called 0example4.xxe and not example4.xxe as 
expected to force XXE to detect Example4 documents before Docbook 5 
documents. See 
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/addon_types.html

--> Note that we intend to add a comprehensive ``cookbook'' part to
XMLmind XML Editor - Configuration and Deployment -- 
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/index.html

This cookbook part should include ``recipes'' for customizing DocBook or 
DITA schemas among many other recipes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0example4.xxe
Type: text/xml
Size: 1005 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20080526/d71cecf2/attachment.xml
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example4.css
Type: text/css
Size: 208 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20080526/d71cecf2/attachment.css
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example4.rng
Type: text/xml
Size: 397 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20080526/d71cecf2/attachment-0001.xml
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example4.xml
Type: text/xml
Size: 603 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20080526/d71cecf2/attachment-0002.xml
 

Reply via email to