parsing XML

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

parsing XML

Postby DavidBurleigh » Mon Apr 20, 2009 1:03 am

has anyone a link to a white paper that has a complete segment of code that shows how to parse xml? Dumb Rev books and online docs have no examples. I went to search online docs and put in "parse xml" and go NO hits. Are these people just stupid? Parsing XML is a critical need in development and they have NO examples (that I can find) on how to do it. Sure they explain each function one at a time, but have nothing in context.

you can send me a link or code, whatever you might have directly to incomex@hotmail.com.

thanks.

we really need to start complaining about the lack of quality with respect to bugs and documentation, it really is inexcusable.
DavidBurleigh
 
Posts: 19
Joined: Sun Apr 05, 2009 9:27 am

Postby keyless » Mon Apr 20, 2009 1:42 am

I just went through the same frustration a couple days ago.
http://forums.runrev.com/phpBB2/viewtopic.php?t=2929

Got no help from the forum, but after taking apart Rev's RSS tutorial demo stake, and finding a great old Ken Ray comment on XML parsing in the mailing list, I was on my way and parsing.

Oh and Ken also has his own XML library that I haven't tried, but a lot of users on the list seem to use instead of revXML too.
keyless
 
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

Where do I find that XML Library?

Postby DavidBurleigh » Mon Apr 20, 2009 1:50 am

thanks
DavidBurleigh
 
Posts: 19
Joined: Sun Apr 05, 2009 9:27 am

Nevermind, I found the library - Sons of thunder

Postby DavidBurleigh » Mon Apr 20, 2009 1:56 am

thanks
DavidBurleigh
 
Posts: 19
Joined: Sun Apr 05, 2009 9:27 am

Where is the comment in the mailing list

Postby DavidBurleigh » Mon Apr 20, 2009 2:02 am

where is the comment in the mailing list?
DavidBurleigh
 
Posts: 19
Joined: Sun Apr 05, 2009 9:27 am

Postby mwieder » Mon Apr 20, 2009 4:37 am

You might also want to check out Sarah Reichelt's xml sample stack:

http://www.troz.net/Rev/tutorials.php
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
 
Posts: 2561
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US

Postby keyless » Mon Apr 20, 2009 6:18 am

Oh yeah forgot to mention Sarah's great tut, but doesn't go into parsing much.

Here is nabble link for Ken's reply
http://www.nabble.com/XML-Handling-td17 ... #a17842791
keyless
 
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

Re: parsing XML

Postby bbhank » Tue Apr 26, 2016 9:57 pm

DavidBurleigh wrote:has anyone a link to a white paper that has a complete segment of code that shows how to parse xml? Dumb Rev books and online docs have no examples. I went to search online docs and put in "parse xml" and go NO hits. Are these people just stupid? Parsing XML is a critical need in development and they have NO examples (that I can find) on how to do it. Sure they explain each function one at a time, but have nothing in context.

you can send me a link or code, whatever you might have directly to incomex@hotmail.com.

thanks.

we really need to start complaining about the lack of quality with respect to bugs and documentation, it really is inexcusable.


Right On!!
bbhank
 
Posts: 116
Joined: Thu Mar 17, 2016 6:04 pm

Re: parsing XML

Postby capellan » Thu Aug 10, 2017 6:54 pm

You could find Ken Ray's answer in the mail list too:
http://lists.runrev.com/pipermail/use-livecode/2012-January/167027.html

Al
capellan
 
Posts: 341
Joined: Wed Aug 15, 2007 11:09 pm

Re: parsing XML

Postby bogs » Fri Aug 11, 2017 12:50 am

mwieder wrote:You might also want to check out Sarah Reichelt's xml sample stack:
http://www.troz.net/Rev/tutorials.php

Image
Error messages in Haiku? wrote:A file that big?
It might be very useful.
But now it is gone.
However, all is not lost !!
https://github.com/trozware/rev_stacks
Image
bogs
 
Posts: 253
Joined: Sat Feb 25, 2017 10:45 pm

Re: parsing XML

Postby capellan » Fri Aug 11, 2017 2:54 am

I have found Tereza Snyder's Califex Tree Field stack very useful too:
http://www.califexsoftware.com/CFX_res.html
http://www.califexsoftware.com/RES/CFX_TreeField.rev

Al
capellan
 
Posts: 341
Joined: Wed Aug 15, 2007 11:09 pm


Return to Talking LiveCode

Who is online

Users browsing this forum: No registered users and 3 guests