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]

Generate Hierarchical Tree from non-hierarchical XML


Here is the XML

<employees>
   <employee>
      <id>1</id>
      <name>John 1</name>
      <manager/>
   </employee>
   <employee>
      <id>4</id>
      <name>John 4</name>
      <manager>1</manager>
   </employee>
   <employee>
      <id>3</id>
      <name>John 3</name>
      <manager>1</manager>
   </employee>
   <employee>
      <id>2</id>
      <name>John 2</name>
      <manager>3</manager>
   </employee>
</employees>

Output needed is 
John 1
   John 3
      John 2
   John 4

Please help in writing XSL for ie5.

Thanks!

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.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]