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]

Is this possible in xsl ?


Hi.

I want to transform an xml to an html.

My xml looks like this:

<cap>
  <cap>
    <cap>
	<data>
          <org>Organism1</org>
          <info> ...</info>
        </data>
    </cap>
    <data>
       <org>Organism2</org>
       <info> ...</info>
    </data>
  </cap>
</cap>

And I want my html to look like this:
Organism 1
	cap
		cap
			data1
Organsim 2
	cap
		data2

So the data is in the xml sorted in the capfiles with the info to which cap 
it belongs, but in the html I want it to sort by organism. Is this possible?
I tried to do it with <xsl:for-each select="//organism"> but it doesn't work 
at all, all the organsims are repeated.

Thank you for your ansers.

Anne.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


 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]