Hi Kevin,
Good point, but this is for a client's input to their database, and
apparently this is how they have it set up. Thanks for the feedback.
Rick
-----Original Message-----
From: Kevin Brown [mailto:kevin(_at_)renderx(_dot_)com]
Sent: Sunday, August 11, 2013 1:44 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Deepening a flat structure and numbering nodes
Without exactly knowing what your implementation is for, I would think that
future use of the data for any other output or processing would be better
served by making the structure something like this:
<data>
<newRecord>
...
<DifferentialDiagnosis>
<Diagnosis>Sick</Diagnosis>
<Diagnosis>Sicker</Diagnosis>
<Diagnosis>Sickest</Diagnosis>
</DifferentialDiagnosis>
...
Certainly when processing for XSL FO or HTML, it would be easier. Especially
if the input data changes and you have to add 4,5,6,...10...more?
Kevin Brown
RenderX
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--