• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XML Tools 2.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML Tools 2.2


  • Subject: Re: XML Tools 2.2
  • From: Simon Forster <email@hidden>
  • Date: Tue, 29 May 2001 08:51:21 +0100

on 28/5/01 9:03 pm, mark at email@hidden wrote:

> Hello fellow scripters.
>
> Does any of you use XML Tools 2.2 from Latenightsw.com ?

Yes. Very neat it is too.

> I am trying to use it to process a XML file but I am using a lot of repeat's
> to get XML Contents into a usable list. Is there a better way.

The script I wrote loops through the records returned by XML Tools and,
depending on the XML Tag property, passes the info on to the appropriate
handler. So, repeat loops are necessary - but I'm only using a couple.

> My XML file is using quite a few nested tags, so XML Tools return a lot of
> lists with lists with lists...

I cheated a little here and tweaked my XML file to make it easier to parse
out. Having said this, I still end up with some wickedly nested records.

When I first saw the data returned by XML Tools my heart sank but once
you've stared at it long enough it all starts to become clear.

Good luck with your scripting

Simon Forster
________________________________________________
LDML Ltd, 4/5 Hazlitt Mews, London, W14 0JZ, UK
<tel int="+44 20 7602 9370" uk="020 7602 9370">
<fax int="+44 20 7371 6662" uk="020 7371 6662">
<mailto:email@hidden>
________________________________________________


References: 
 >XML Tools 2.2 (From: mark <email@hidden>)

  • Prev by Date: Re: OSAX and Applescript performance
  • Next by Date: Re: Extract URLs using TIDs (how to?)
  • Previous by thread: XML Tools 2.2
  • Next by thread: Webminer
  • Index(es):
    • Date
    • Thread