Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parsing xml



On 2006-06-07, at 03:05:34, Chuck Goodman wrote:

I gave the XMLlib a try but didn't get very far. I've got two questions about it.

1) Can I load the OSAX directly into my ASS project? I don't want to have to install the OSAX everywhere my project might run.

Here's a recent post from Chris Nebel:

The addition needs to wind up in a "Scripting Additions" folder in your Resources folder. In Xcode, add XILog to your project (*don't* add it to a target yet, it'll just add it to the wrong place), add a Copy Files phase (set the destination to "Resources" and the path to "Scripting Additions"), and add XILog to that phase.

You'll have to check the re-distribution license.


2) My xml files may not be true XML files. They are actually xxx.log files and use only the most basic tags such as
<TagName>
<subTag> some text</subTag>
</TagName>

Don't know about that directly but make sure you're using the most recent universal version.


If you use the current system xsltproc, I believe it's non-validating and that you only need a basic XML declaration at the top of the file.


On Jun 7, 2006, at 2:57 AM, Andreas Kiel wrote:

I tried the XML parsing which comes with the system, but wasn't to happy about - maybe I did something wrong.

No problems over here. I found xsltproc to be very charming and quite fast as well (OS X 10.4.x).



Philip Aker email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-studio mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden
References: 
 >Re: parsing xml (From: Graham Jones <email@hidden>)
 >Re: parsing xml (From: Christopher Nebel <email@hidden>)
 >Re: parsing xml (From: Philip Aker <email@hidden>)
 >Re: parsing xml (From: Andreas Kiel <email@hidden>)
 >Re: parsing xml (From: Chuck Goodman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.