[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Seek your recommendation on how to report differences
Hi Folks, What does it mean to compare two sequences of <row> elements, where each <row> element has (leaf) child elements? Suppose sequence #1 has this <row> element: <row> <DESC>-</DESC> </row> If there is no <row> in sequence #2 containing one child element named DESC and value '-' then report that the <row> element is in sequence #1 and not in sequence #2. Suppose sequence #2 has this <row> element: <row> <DESC>-</DESC> <DESCRIPTION>AT OR BELOW ALTITUDE</DESCRIPTION> </row> Should I report that the <row> element in sequence #1 is not in sequence #2? Suppose sequence #1 has this <row> element: <row> <NAME>GENERAL EDWARD LAWRENCE LOGAN INTL</NAME> <ICAO>KBOS</ICAO> <WGS_LAT>N42214660</WGSLAT> <WGS_LONG>W071002300</WGS_LONG> <ELEV>00019</ELEV> </row> And sequence #2 has this <row> element: <row> <NAME>GENERAL EDWARD LAWRENCE LOGAN INTL</NAME> <ICAO>KBOS</ICAO> <WGS_LAT>N42214660</WGSLAT> <WGS_LONG>W071002300</WGS_LONG> <ELEV>00018</ELEV> </row> The ELEV values differ. I could report that the <row> element in sequence #1 is not in sequence #2 but that would be disingenuous because there is a <row> element in sequence #2 about LOGAN airport. It seems that reporting differences at the <row> element level is bad, especially when there are many child elements, most of which have the same values. Should I report differences at the child element level? How to do this in a meaningful and succinct way? "In sequence #1 the <row> element for LOGAN airport differs from the sequence #2 <row> element for LOGAN airport in the <ELEV> element." That looks good, except I hand-crafted it; auto generating a meaningful report would be difficult. Question: how do you recommend reporting differences between two <row> element sequences? /Roger
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|