Please help me

webmasterbeta

New Member
My XML data is like :--

<?xml version='1.0' encoding='utf-8' ?>
<r:totals xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:r="http://footballresults.org">
<r:total played="2" wins="0" draws="0" losses="2" for="1" against="3" goal_difference="-2" points="0">Newcastle United</r:total>
<r:total played="2" wins="2" draws="0" losses="0" for="3" against="1" goal_difference="2" points="6">Bolton Wanderers</r:total>
<r:total played="2" wins="1" draws="1" losses="0" for="3" against="2" goal_difference="1" points="4">Fulham</r:total>
<r:total played="2" wins="0" draws="1" losses="1" for="1" against="2" goal_difference="-1" points="1">Charlton Athletic</r:total></r:totals>


How I will write a xsl for a output table like

_________________________________________
TEAM P w d l f A D P
----------------------------------------------
Newcastle United 2 0 0 2 1 3 2 0
Charlton Ath 2 0 1 1 1 2 1 1
-----------------------------------------------
 
Back
Top