[xsl] Output one record at a time

Subject: [xsl] Output one record at a time
From: "Agaram Madhavaraju" <madhav@xxxxxxxxxxxxxxx>
Date: Wed, 10 Jul 2002 23:52:23 -0700
I have an xml file like this

<employees>
  <employee>
    <name>
      abc
    </name>
    <department>
      admin
    </department>
  </employee>
  <employee>
    <name>
      hij
    </name>
    <department>
      finance
    </department>
  </employee>
  ...
  ... 
</employees>

I want to output one employee detail at a time(in HTML), using the record number(i.e the index of employee record in the xml file) as the input parameter.

How can i do that?

Thanks
-madhavaraju 
             

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


Current Thread