Re: applescript-users digest, Vol 2 #1277 - 17 msgs
Re: applescript-users digest, Vol 2 #1277 - 17 msgs
- Subject: Re: applescript-users digest, Vol 2 #1277 - 17 msgs
- From: Steve Zellers <email@hidden>
- Date: Mon, 5 Nov 2001 13:09:10 -0800
You might want to try "AEXMLTutor.app" - it dumps the xml sent on the wire.
From the Finder, Connect To...:
http://idisk.mac.com/zellers/Public
--smz
On Monday, November 5, 2001, at 12:40 PM, applescript-users-request@lists.
apple.com wrote:
Message: 8
Date: Thu, 01 Nov 2001 17:52:37 -0500
From: Jeremy Reichman <email@hidden>
Subject: Re: XML-RPC, Mac OS X, HTML entitites [formerly escaped
characters]
To: email@hidden
Hm, upon further investigation, it doesn't look like the text is being
escaped at the variable level. I pretty much confirmed that by doing a
TextEdit-variable-TextEdit loop. The text comes through fine.
So when I upload my text through XML-RPC to a Userland Manila Web site,
the quotes and apostrophes and other special characters are not escaped -
-
they are converted to HTML entities. This is either happening at Mac OS X'
s XML-RPC layer, or at the Manila Web app. I'm not sure which, or how to
test for it.
I don't see this behavior when I download text from Manila and dump it
into TextEdit.
Hm, any ideas?
I'm not really sure that I understand. AppleScript only "escapes" a
character when it needs to display it in a result window or in some
other "code" environment, ie: "\"" is equal to ", and this is exactly
what you should get if you are passing this character to another
application.
--
Jeremy Reichman
Software Specialist III / Instructor
Customer Support Services
Information & Technology Services
Rochester Institute of Technology