C. Ridd wrote:
>
> We're using XXE Pro 5 very happily with no real problems.
>
> However we do have a problem with our workflow, and I'm wondering if you
> could suggest a way out?
>
> Our Docbook manuals are committed into a version control system and
> changes are sent around for review with 'diffs' showing the actual changes.
>
> The issue we have is that sometimes the diffs don't make any sense,
> because one user has XXE configured to save long lines, not use SGML
> compatibility, not encode certain characters as entities, indent
> differently, etc. Everyone has /slightly/ different settings.
>
> Is there any way to force XXE to save certain documents with particular
> settings, without forcing a user to change their personal settings?

--> The less intrusive way to do that is to customize the DocBook 
configuration by adding a <saveOptions> configuration element. Simple 
example:

cfg:saveOptions addOpenLines="true"
                 encoding="ISO-8859-1"/>

Do not hesitate to specify in this element a value for each possible 
save option.

If a user has not checked the "Override settings specified in config. 
files" in Options|Preferences, Save section (which is almost always the 
case), then the save options specified in the customization file will be 
applied to the save file.

References:

* http://www.xmlmind.com/xmleditor/_distrib/doc/configure/saveOptions.html

* http://www.xmlmind.com/xmleditor/_distrib/doc/help/saveOptions.html



--> It's also possible to force one or more preferences using 
command-line options.

References:

* http://www.xmlmind.com/xmleditor/_distrib/doc/help/command_line_usage.html

* http://www.xmlmind.com/xmleditor/_distrib/doc/help/preferenceKeys.html

Both approaches are impractical to use unless you deploy XMLmind XML 
Editor using Java Web Start or as an applet.



> I watched XXE with dtrace open a document and it doesn't seem to try
> opening any extra files that might contain settings.
>
> Or is there a smarter way to make our workflow work?
>

Use an XML differencing tool such as Altova DiffDog 
(http://www.altova.com/diffdog/diff-merge-tool.html) or DeltaXML's 
(http://www.deltaxml.com/) rather the plain text diff. Such tools are in 
principle completely immune to changes in the indentation, encoding, 
namespace prefixes, etc, of the documents being compared.

 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to