The online racing simulator
Searching in All forums
(763 results)
Troubles displaying data on a browser from an .xml file
GFresh
S3 licensed
Hi.
I've been trying to get a web page to display some data from an .xml file created by LFSPoints. I'm pretty new to xml to be honest, and i wouldn't call myself a HTML master either.
I've been looking at working examples and trying to work it out from there, but what i've come up with doesn't work and i'm now stuck.
Can anyone see why the below code does not fetch what i want it to?
I'm going to assume i'm either very close or way way off the mark with it.
The below .html file is hosted in the same directory as 'test.xml' which is a LFSPoints exported file.


<html>
<body>

<xml src="test.xml" id="rssc" async="false"></xml>

<br />Track:
<span datasrc="#rssc" datafld="TrackName"></span>
<br />Laps:
<span datasrc="#rssc" datafld="Laps"></span>


</body>
</html>

Obviously, this code is only a test to see if i can get it to work, i don't want to only display the Track and Lapcount.


So, any ideas?
If you need more info, just let me know.

Thanks for any help guys
GFresh
S3 licensed
Hmm, i was in a garage yesterday whilst my boss was paying for deisel, and all of a sudden, it caught my eye, a WIPSA bar. "OMG!" i exclaimed, "i simply must have one", but i had no cash in my wallet, not a penny. So i went over to the cashpoint (which was strategically positioned next to the WISPA's) to get myself a tenner out, but it was one of those standalone one's that charges £1.99 to get MY OWN GODDAMN MONEY OUT. Anyway, i got the tenner and bought two WISPA's.
They cost me £2.79, but they were soooooo worth it


EDIT: just read Sams post and it reminded me. I tried these Hershey's chocolates last year, they were like really wide rolo's in appearence, like 3 inch's wide but the same height, but all they had inside was peanut butter. I can't remember what they are called and cannot find any, i really want some, does anyone know what they are called or where i could get some from?
Last edited by GFresh, .
GFresh
S3 licensed
Quote from Most Wanted Guy :wait i didnt get the second sentence should i buy it and clamp the whell and the shifter on? or is it a waste of money

What he meant was, that the keyboard (which is what would normally reside on the sliding shelf part, + mouse) already has those poor quality sliders under stress.
So, yes, the G25 + shifter would fit on the sliding shelf, but it wouldn't be very sturdy and would potentially break if you got a little excited during a race
That said, if you were to clamp them onto the top shelf, then you shouldn't have any problems.
GFresh
S3 licensed
To be honest, i can't see why a G25 wouldn't fit on there . It would fit on the top part as there are only 2 little clamps that go underneath (ala DFP). It would also fit on the sliding drawer, you just wouldn't be able to slide the drawer away.
GFresh
S3 licensed
Quote from wien :Real life just doesn't look like that.

That may be true, and to a certain extent i agree with what you said. But an argument about a sheen on things not being true to life seems somewhat silly when there's a humungous tripod robot shooting weird plasma lazer stuff at you at the same time
GFresh
S3 licensed
I'm having a blast with the Vehicle CTF at the moment, great fun!
GFresh
S3 licensed
Yes! It's ace
GFresh
S3 licensed
Quote from Rooble :I'd rather spend 45 minutes on multiplayer Doom95 then even bother with this new release, tis an epic failure.

I'd rather spend 45 minutes on multiplayer Doom95 than ANYTHING
GFresh
S3 licensed
74th woohoo...... what is it?
GFresh
S3 licensed
I tried it out earlier, runs smooth, even across 3 screens, very happy .
Although it's not revolutionary in any way (I did have fun in that strider thingy ), i'm sure it will be taking up a fair chunk of my non-LFS gaming time once it's released. Hmm, or maybe HL2 Ep2, so many choices atm
GFresh
S3 licensed
Thankyou sir
GFresh
S3 licensed
Hmmm, struggling to find a decent download link for the demo, can anyone help a guy out
GFresh
S3 licensed
Quote from Matt0snap :mazz, why does your stickman look like a guy trying to dance but almost falling over....?

That Stickman was actually originally modeled from a video of me throwing some shapes on a night out
GFresh
S3 licensed
Great! I'll try it out, i love UT
New signing for Adaptive
GFresh
S3 licensed
We are very pleased to announce the latest addition to the team.

Please, Ladies and Gentlemen, a warm welcome to... RRT RABBIT

Darko Nikolin is a quick racer, and considering his short time with S2, is league experienced also. He has already clocked over 22000 online miles, in which time he has notched up 100 race wins. Darko has the potential to become a very fast racer indeed.
GFresh
S3 licensed
Great to hear Episode 2 is out, must now finish Episode 1 (Yeah, i know, i just keep coming back to LFS, it's an addiction!)
GFresh
S3 licensed
Yeah, happy birthday!

Oh oh, you guys play BF2 a lot?, i was gonna get it (£5 in ASDA) but didn't know anyone who plays it.

Sorry for O/T, but i heard mention....
GFresh
S3 licensed
Quote from the_angry_angel :People still using MySQL 3 should be shot

Please don't shoot me, it's not my fault
GFresh
S3 licensed
Quote from DarkTimes :If I said I was going on strike, I'd just get fired. To be honest, if you don't like your pay, get a better job.

Ditto
GFresh
S3 licensed
This may sound silly, but does your scoob have mud flaps all round? I have heard a very similar noise when in an sti whilst turning fast, but it was whilst braking into a corner and as the car was diving slightly the mud flap scraped across the floor.
Just something for you to rule out
GFresh
S3 licensed
Quote from jibber :There is a superb zombie game. You need an xbox360 tho...

It's called Dead Rising.

http://buttonmashing.com/wp-content/uploads/dead_rising.jpg

I second that recommendation
GFresh
S3 licensed
Quote from bbman :Why the bonnet scoop?

I think it must have been the designers inner ricer creeping out
GFresh
S3 licensed
Quote : Oh and did anyone count the number of times the ITV team said 'Lewis Hamilton' ?

Although very annoying, they're always going to love Hamilton with him being from the same country.

EDIT: I wonder if we all chipped in a couple of quid, We could get Martin to gagg James with an old sock, and duct tape him to a chair for the remaining races?
Last edited by GFresh, .
GFresh
S3 licensed
All this talk about CC Red Alert has made me want to get the disc out, anyone know if it works on XP Shrug
FGED GREDG RDFGDR GSFDG