Kathryn Huxtable wrote:
> If I modify the grammar, do I have to modify the file in the installation 
> directory, or can I do it in my local support directory? I'm on a Mac, so 
> it's in ~/Library/Application Support/XMLMind/...
> 

--> Quick and dirty method: directly modify the grammar in the
installation directory

Replace "anyURI" by "string" in
XXE_install_dir/addon/config/docbook5/rng/V5.0/docbook.rng,
at this location:
---
  <define name="db.xlink.href.attribute">
   <attribute name="xlink:href">
     <a:documentation>Identifies a link target with a
     URI</a:documentation>
     <data type="anyURI"/>
   </attribute>
---



--> Clean method. (Takes you 100x more time and forces you to read tons
of very boring documentation.)

Ideally, you should create a customization of the DocBook 5
configuration. This customization, which points to a customized DocBook
5 RELAX NG schema, would of course reside in your user preferences
directory (~/Library/Application Support/XMLMind/XMLEditor4/) and would
survive to XMLmind XML Editor upgrades.

How to do this is explained here:
XMLmind XML Editor - Configuration and Deployment
Customizing an existing configuration
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html



Reply via email to