RE: [xsl] Deepening a flat structure and numbering nodes

Subject: RE: [xsl] Deepening a flat structure and numbering nodes
From: "Rick Quatro" <rick@xxxxxxxxxxxxxx>
Date: Mon, 12 Aug 2013 06:58:13 -0400
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@xxxxxxxxxxx] 
Sent: Sunday, August 11, 2013 1:44 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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

Current Thread