Subject:Need to loop through the an xml file to display content in a particular format Author:Rinni Verma Date:19 Jul 2005 09:39 AM Originally Posted: 19 Jul 2005 09:37 AM
Hello All,
I need to loop through the following xml to display content in the format specified below.
The following is an example xml file:
<Employees>
<Employee>
<Field Name="empName" Value="x"/>
<Field Name="empSSN" Value="123456789"/>
</Employee>
<Employee>
<Field Name="empName" Value="u"/>
<Field Name="empSSN" Value="987654321"/>
</Employee>
</Employees>
I need to transform the above xml file using XSLT to display in the following format:
Employee Name is x and SSN is 123456789
Enployee Name is y and SSN is 987654321
I tried using <xsl: foreach/> loop, but it does not help.
Thanks.
Rinni