XML XSL Issue
| From: | karthikeyan | Date: | Mon, 19 Aug 2002 00:33:54 +0000 |
| Subject: | XML XSL Issue | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-113168@lists.php.net to get a copy of this message | ||
Hi All,
I have an XML file. I want to display a count of unique record(surname, forename) using XSL. In
the below example there are 3 records out of which 1 is duplicate in that case I want to display
using XSL [Total = 2]
This is my xml file
----------
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl"
href="U:\karthikeyan\Report_Indi_PreAuthor.xsl"?>
<Recordset ReportName="Report Name" UserName="UserName"
InsertedOn="InsertedOn">
<row>
<surname>Coates</surname>
<forename>Arnold</forename>
<ninumber>TL103080D</ninumber>
<status>Applicant Active</status>
</row>
<row>
<surname>Crowe</surname>
<forename>Stephen</forename>
<ninumber>NB305054C</ninumber>
<status>Applicant Active</status>
</row>
<row>
<surname>Coates</surname>
<forename>Arnold</forename>
<ninumber>AB403869A</ninumber>
<status>Confirmed Lead Active</status>
</row>
</Recordset>
---------
Can anyone type a sample code of XSL for my requirement.
Looking forward for yours response.
Have a great day.
karthikeyan.
-------------------------------------------------------------------------------------------------------------
Judge not, that ye be not Judged - Abraham Lincoln's favorite quote
-------------------------------------------------------------------------------------------------------------