• 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 Parser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML Parser


  • Subject: Re: XML Parser
  • From: Walter Ian Kaye <email@hidden>
  • Date: Mon, 15 Sep 2003 14:51:34 -0700

At 03:24p -0300 09/15/2003, Marcus Rodrigues didst inscribe upon an electronic papyrus:

While waiting for the answer, since my messages sometimes take 5 hours
to get to the list,

Same here. :)

Don't know if it is the best way, but it worked ;-)

Speaking of parsing XML, I've been wondering how to handle nesting of the same element. For example:

<foo>
<foo>
</foo> <!-- closes 2nd tag, not first -->
</foo>

Is there any kind of shortcut, or do you just have to do it a "long" way, such as building stacks of start and end tag locations bit by bit until you finally balance?

(nip in bud: i know libraries exist; this is a general question.)


thanks,
-boo
avoiding it by writing XML that only nests different elements :)
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >XML Parser (From: Marcus Rodrigues <email@hidden>)

  • Prev by Date: IE POST format
  • Next by Date: stupid question #17: volume
  • Previous by thread: XML Parser
  • Next by thread: IE POST format
  • Index(es):
    • Date
    • Thread