On 11/17/2011 10:21 AM, Hussein Shafie wrote:
On 11/17/2011 09:28 AM, Kevin Flynn wrote:
The inability to use the comparison tool if you make use of tools other
than XXE to modify documents seems like a serious limitation. We
currently use a very old version of XXE but are considering buying the
latest version in combination with a switch from docbook to dita.
Not interested in DocBook 5.1 assemblies? (
http://www.docbook.org/tdg51/en/html/ch06.html ) We happen to like it
very much and we are committed to fully support it in future releases of
XXE.
Ah, maybe...thanks for the tip!
The
comparison tool is very attractive in that context, but I find it hard
to imagine that we could restrict ourselves to only using XXE.
Is this really surprising? Can you imagine reviewing in oXygen changes
made using XMetaL? I mean, most if not all XML editors use proprietary
processing-instructions to be able to implement the "Review Changes"
feature.
I'm thinking mostly of changes made using in-house tools, XSL transforms
and so on. Although it's also the case that our documents get updated by
XML-savvy programmers who won't use anything other than
emacs/vi/eclipse/whatever....
Would it be possible to produce (for example) a pair of command line
tools that:
(a) replaced the single processing instruction at the end of the file
with a GUID processing instruction inside each element
(b) reversed the process and simultaneously generated new GUIDs for any
elements without them
In other words, some simple means of enabling the comparison tool to
recognise changes made outside of XXE.
Thank you for your suggestions. What you describe makes sense and indeed
can be implemented. However what you suggest also has drawbacks in
terms of performances.
I imagined that to be the case - that's why I suggest external tools
that you can use only when required.
Moreover, it would ``pollute'' the XML source
file much more than a single processing-instruction found at the very of
the document.
Yes, not really a problem for the XSL case, but it would test our
programmers' mettle!
Should you decide to do anything like this, it would be good to know.
Regards,
--
*Kevin Flynn*
Technical Author
Vizrt
Mobile: +47 9343 39 42
[email protected] <mailto:[email protected]>
*www.vizrt.com* <http://www.vizrt.com>
/Disclaimer: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or entity
to whom they are addressed. If you have received this email in error or
are not the named addressee, you should not disseminate, distribute or
copy this e-mail. Please notify the author by replying to this e-mail
and destroy this email and any attachments. /
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support