I have a DOORS module with object text in the main column and I have object text (layout DXL) in another column that was pulled in from another module using links. I want to compare these two columns of text and identify the differences between them. How can I accomplish this?
|
Re: comparing two columns of text This was created using the Analysis Wizard to create a DXL Layout column that displays the Object Text of objects at the other end of incoming links - I have identified where additional DXL code has been added to perform the comparison and display the result.
Paul Miller, Melbourne, Australia |
Re: comparing two columns of text Here is some code that may get you going on what you asked for.
-Louie |
Re: comparing two columns of text Note that since this tool was designed primarily for being able to track changes to a given module, you will need to instantiate the text coming in from your links. I.e., This script can't use the results of another DXL layout column. That means you will either have to setup your Layout DXL as DXL Attributes, or modify the script itself to walk the links. I use the former as I'm a bit weak in DXL scripting. One last thing. There appears to be a bug in the version of that script that we have (came with the DOORS 9.3.0.5 client). one of the advanced settings allowing customization of the appearance of the output doesn't work (I forget which) but the default output was acceptable for us. Hope this helps! |