[xsl] XSL to write XML tag values in columns

Subject: [xsl] XSL to write XML tag values in columns
From: "Jaime Alejandro Stuardo Bahamonde" <jstuardo@xxxxxxxxxxx>
Date: Tue, 23 Dec 2003 16:41:10 -0400
Hi all..

I have an XML like this:

<test>
  <ROW>
    <f_key>1</f_key>
    <field>blabla</field>
  </ROW>
  <ROW>
    <f_key>1</f_key>
    <field>bleble</field>
  </ROW>
  <ROW>
    <f_key>2</f_key>
    <field>blibli</field>
  </ROW>
  <ROW>
    <f_key>2</f_key>
    <field>bloblo</field>
  </ROW>
</test>

I want that to be shown this way:

1           2
blabla     blibli
bleble     bloblo

Using muenchian method I could achieve:

1           2
blabla     bleble
blibli     bloblo

what I was not wanting.

Long time ago someone suggested me a way to do it and it worked, by using mode="row" in XSL but I don't remember exactly how can I use it.

Thanks
Jaime

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread