Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Parsing xml in second life

Milind Planer
thebigb
Join date: 14 Feb 2007
Posts: 3
02-26-2007 03:36
Hi All,

I am making a http request form the linden script. Now I am getting the response for that request in the form of xml now I want to parse this xml in the script. How can I do that in in the SL script.

Is there any support for parsing in Linden scriping.

Thanks,
MP
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
02-26-2007 04:50
From: Milind Planer
Hi All,

I am making a http request form the linden script. Now I am getting the response for that request in the form of xml now I want to parse this xml in the script. How can I do that in in the SL script.

Is there any support for parsing in Linden scriping.

Thanks,
MP


Only what you write yourself.
bucky Barkley
Registered User
Join date: 15 May 2006
Posts: 200
02-26-2007 12:57
That's one of those things where you should weigh the pros/cons of parsing on a web server, and feeding lsl something it can digest much easier.

For instance, I am using magpieRSS to parse an RSS feed (will try SimplePie soon).

If you dont have to do it in LSL, dont. Every single scripting language in common use on the web side is far better suited.
HatHead Rickenbacker
Registered Loser
Join date: 6 Nov 2006
Posts: 133
03-30-2007 08:37
From: bucky Barkley
That's one of those things where you should weigh the pros/cons of parsing on a web server, and feeding lsl something it can digest much easier.

For instance, I am using magpieRSS to parse an RSS feed (will try SimplePie soon).

If you dont have to do it in LSL, dont. Every single scripting language in common use on the web side is far better suited.


Hey buckley _ iam checking out magpieRSS and it looks very cool indeed. I am having difficulties finding the installation steps. How did you install?
bucky Barkley
Registered User
Join date: 15 May 2006
Posts: 200
03-30-2007 21:15
Check http://magpierss.sourceforge.net/ .. the installation is in there.

SimplePie is also very good: http://simplepie.org/
_____________________
Bucky Barkley -- Mammal, Scripter, Builder, Lover