This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Are non-linear transformation possible?


What I mean be this is can you convert a source document that looks like this:

<allresults>
 <results>
  <row>
    <field>some data</field>
    <field>some data</field>
  </row>
  <row>
    <field>some data</field>
    <field>some data</field>
  </row>
 </results>
 <results>
  <row>
    <field>some data</field>
  </row>
  <row>
    <field>some data</field>
  </row>
 </results>
</allresults>  


into this:

<results>
  <row>
    <field>some data</field>
    <field>some data</field>
    <field>some data</field>
  </row>
  <row>
    <field>some data</field>
    <field>some data</field>
    <field>some data</field>
  </row>
</results>


In other words, I'd like to merge these 2 separate result sets into one result set.

This seems like a basic thing to do with XSLT but I can't figure out the logic for my transformation sheet.

Thanks,
Rich
--------------------------------------------------------------------
Rich Bolen
Senior Software Developer
GretagMacbeth Advanced Technologies Center
79 T. W. Alexander Drive - Bldg. 4401 - Suite 250
PO Box 14026
Research Triangle Park, North Carolina 27709-4026  USA
Phone:  919-549-7575 x239,  Fax: 919-549-0421		

http://www.gretagmacbeth.com/		
--------------------------------------------------------------------


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]