[xsl] XSL for 2 columns- Format Specified

Subject: [xsl] XSL for 2 columns- Format Specified
From: samir sawant <cindy_mona@xxxxxxxxx>
Date: Mon, 24 Jan 2005 06:47:57 -0800 (PST)
Hi I have a following large XML file.


<?xml version="1.0" encoding="utf-8"?>
<root>
	<region>
		<row>
			<field>017814100</field>
			<field>178141</field>
			<field>SWITCH</field>
			<field>006</field>
			<field>000011</field>
			<field>109.36</field>
			<field>74.28</field>
		</row>
		<row>
			<field>307429600</field>
			<field>3074296</field>
			<field>CLP,RTG</field>
			<field>006</field>
			<field>000011</field>
			<field>168.59</field>
			<field>114.51</field>
		</row>
       ....
       .....
      </region>
</root>


Need to convert this in following format where i will
get 2 columns side by side on pages which will
continue till the end of data. Flow of the data on the
page should be down and then across

AFter every 5 records ,  the line space  should be
there.
BOth columns should be inline means space after 5
records in both columns should match on the same line.
Field within same column should be seperated by space

two columns should be seperated by vertical line in
between. Headings should repeat on each page.
Format should look like as below:

                      < TITLE>
<Headings>

 F1  F2  F3  F4  F5 F6 F7   F1  F2  F3  F4  F5 F6 F7
 F1  F2  F3  F4  F5 F6 F7   F1  F2  F3  F4  F5 F6 F7
 F1  F2  F3  F4  F5 F6 F7   F1  F2  F3  F4  F5 F6 F7
 F1  F2  F3  F4  F5 F6 F7   F1  F2  F3  F4  F5 F6 F7
 F1  F2  F3  F4  F5 F6 F7   F1  F2  F3  F4  F5 F6 F7

 F1  F2  F3  F4  F5 F6 F7   F1  F2  F3  F4  F5 F6 F7
 F1  F2  F3  F4  F5 F6 F7   F1  F2  F3  F4  F5 F6 F7
 F1  F2  F3  F4  F5 F6 F7   F1  F2  F3  F4  F5 F6 F7
 F1  F2  F3  F4  F5 F6 F7   F1  F2  F3  F4  F5 F6 F7
 F1  F2  F3  F4  F5 F6 F7   F1  F2  F3  F4  F5 F6 F7

 F1  F2  F3  F4  F5 F6 F7   F1  F2  F3  F4  F5 F6 F7
 F1  F2  F3  F4  F5 F6 F7   F1  F2  F3  F4  F5 F6 F7
 F1  F2  F3  F4  F5 F6 F7   F1  F2  F3  F4  F5 F6 F7
 F1  F2  F3  F4  F5 F6 F7   F1  F2  F3  F4  F5 F6 F7
 F1  F2  F3  F4  F5 F6 F7   F1  F2  F3  F4  F5 F6 F7


Thanks,
Samir



            





		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250

Current Thread