Where H1 to H7 are field headings and -- is record
element. The flow of records is down and then across.
Wait..The main question or Problem is ahead....
My XML input can change, It means it will still have 7
fields but few fields marked as 'NIL' like as below.
In below XML , field 4 and 7 are marked as 'NIL'
Any of my field can be 'NIL' (It will be consistently NIL throughout the XML document). The PDF output should be properly spaced in 2 columns irrespective of the number of non NIL field elements.
Subject:Applying XSL on dynamic XML input Author:Ivan Pedruzzi Date:10 Feb 2005 12:11 AM
Samir,
If the column number is potentially variable (between 0 and 7)
for each row you need to replicate the header each row or have
the hedaer with all columns at the top
The following XSLT should get you started
Hope this helps
Ivan