Thanks to your earlier advice on conditions, I'm now fairly confident with 
using <ph status=> and a ditaval file to flag changes between two versions of a 
document.
What I'm wondering now is whether it's possible to use both status and rev for 
really fine-grain control of output. When I was managing regulatory documents 
in FrameMaker, I used conditions to achieve a sequence like this over the 
course of three revisions, without needing to delete anything in the source 
files before producing revision C:

revision A
Runway orientation is 137°W

revision B
Runway orientation is 137°W 138°W

revision C
Runway orientation is 138°W

In approximate DITA code, I guess the update would look something like this:

<p>Runway orientation is
<ph rev="B" status="deleted">137°W</ph>
<ph rev="B" status="new">138°W</ph>
</p>

So is it possible to use a ditaval file for revision B to say
IF rev="B" and status="deleted" - output text, formatted grey strikethrough
IF rev="B" and status="new" - output text, formatted green

and then a new ditaval file for revision C to say
IF rev="B" and status="deleted" - do not output text
IF rev="B" and status="new" - output text with no special formatting

I appreciate this is getting dangerously close to a DITA question rather than a 
pure XXE question ... but would welcome your advice.

Niels Grundtvig Nielsen
technical author T&P
you know what you're talking about - I can help you say it

[ps] by the time I moved on, I had FM files that included tracked changes for 
over thirty versions of the content; no-one ever asked, but it would have been 
possible to go back and generate the content from any version with just the 
delta from the previous version highlighted


________________________________

Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment there to be 
confidential and may contain information which is protected by intellectual 
property rights.
This information is intended for the exclusive use of the recipient(s) named 
above.
This e-mail does not constitute any binding relationship or offer toward any of 
the addressees.
If you are not one of the addressees , one of their employees or a proxy holder 
entitled to hand over this message to the addressee(s), any use of the 
information contained herein (e.g. reproduction, divulgation, communication or 
distribution,...) is prohibited.
If you have received this message in error, please notify the sender and 
destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be 
subject to data corruption, interception and unauthorized amendment, for which 
we accept no liability."
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to