Re: Getting the URL out of

2015-01-17 Thread Peter Haworth
I can't resist posting a regex solution. Have to admit I'm not entirely clear about what the OP wants to achieve, but I think it's to get hold of a random URL from an xml file so here goes. lcSQL_GetRegexMatches is a library function I use all the time to find all the matches of a regex in a strin

Re: Getting the URL out of

2015-01-16 Thread Kay C Lan
If the above format is EXACTLY as the data appears, i.e. --this is exact then this is a very easy to parse. If the line above and below the random URL is not as you've stated then there are other ways to skin the cat. on mouseUp put URL tPathToXMLFile into tData put false into tParse

Getting the URL out of

2015-01-15 Thread Shawn Blc
How would I go about getting a random URL out of an XML file like the following? There's several of these CDATA tags. My brain is about to explode. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubsc