Hi,
I'm working on a project that requires parsing a .plist file with plain vanilla AS. Though I've written a parser for server configuration files before, my knowledge of AS techniques is limited. Below is the text to parse...
"( { displayName = \"Adomain\"; protocol = \".mac\"; remotePath = \"/Sites/podcast\"; serverUniqueID = 1158377199.667244; username = jmagiera; }, { displayName = Adomain2; host = \"idisk.mac.com\"; protocol = \".mac\"; remotePath = \"/Sites/podcast\"; serverUniqueID = 1158373459.790697; username = jmagiera; } )"
The quoted array () could have any number of elements, which are also arrays, {}. I was thinking of doing this line by line, but it would be easier to break it up with text item delimiters. On the other hand, sending it to the command line via do shell script and running it through something else might work.
Anyone have suggestions for how to approach this? Thanks.
Jaime |