Click here to Skip to main content
12,953,743 members (54,006 online)
Rate this:
Please Sign up or sign in to vote.
How do i display this .xml in .html or .asp in a basic table.

I would not like links to other sites, i'd just like the code to make it work. as ive tried every help site and cant figure it out.
	<event name="Match1" date="20120908">
		<bettype bet-start-date="20120908" bet-start-time="1700">
			<bet had-value="HOME" name="Homewin" price="8/13"/>
			<bet had-value="DRAW" name="Draw" price="5/2"/>
			<bet had-value="AWAY" name="Awaywin" price="9/2"/>
	<event name="Match2" date="20120909">
		<bettype bet-start-date="20120909" bet-start-time="1600">
			<bet had-value="HOME" name="Homewin" price="13/10"/>
			<bet had-value="DRAW" name="Draw" price="85/40"/>
			<bet had-value="AWAY" name="Awaywin" price="2/1"/>

on to something like this
		<td> </td>
		<td>Home win</td>
		<td>Away Win</td>
Posted 20-Sep-12 2:21am
Updated 20-Sep-12 4:48am
Manfred R. Bihy 20-Sep-12 8:25am
You've tried every help site and can' figure it out.
The first part of your statement I seriously doubt, to the second part I feel a strong affinity.

Demanding code is considered rude behaviour. If you feel a link is not enough for you to learn from you probably won't even learn from given code.

Member 9435887 20-Sep-12 9:09am
I wasnt demanding code, i was asking for help. If i could see the code in the way i've asked i would have alot better understanding.

Tadit Dash 20-Sep-12 8:28am
In which language you want to do this task ?
Member 9435887 20-Sep-12 9:08am
jscript or whatever is best. I just want xml to html.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 6,429
CHill60 3,490
Maciej Los 3,103
ppolymorphe 2,020
Jochen Arndt 1,975

Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 20 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100