[X4U] XML DTDs

Stroller MacMonster at myrealbox.com
Tue Jul 12 10:49:55 PDT 2005


On Jul 9, 2005, at 7:36 pm, Rick Nagle wrote:
>>
>>> So, what app, would decode this ?
>>> it would appear the <data> is in DTD format?
>>>
>>> [<?xml version="1.0" encoding="UTF-8"?>
>>> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
>>> "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
>>> <plist version="1.0">
>>>     <array>
>>>        <dict>
>>>           <key>RichTextSignature</key>
>>> `
>>> <data>
>>> cnRmZAAAAAADAAAAAgAAAAcAAABUWFQucnRmAQAAAC78AQAAKwAAAAEAAAD0
>>> AQAAe1xydGYxXG1hY1xhbnNpY3BnMTAwMDBcY29jb2FydGYxMDIKe1xmb250
>>> dGJsXGYwXGZzd2lzc1xmY2hhcnNldDc3IEhlbHZldGljYS1PYmxpcXVlO30K
>>> ...etc </data>]
>> If you click on the link you provided
>> (<http://www.apple.com/DTDs/PropertyList-1.0.dtd>), you'll see that 
>> the
>> data is "interpreted as Base-64 encoded" and "should conform to a 
>> subset of
>> ISO 8601 (in particular, YYYY '-' MM '-' DD 'T' HH ':' MM ':' SS 
>> 'Z'." Use
>> the Property List Editor.app included with Xcode Tools to read plist 
>> files.
>
> All in well, expect, I want to decode the <data>
> part of this, to which I ask, what application
> would do this?

Coming to this late, I'd try pasting the contents of the <data> into a 
text file and running the `uudecode` command on it. You may find typing 
`man uuencode` in a terminal useful. I am assuming that the data you 
wish to access is an image or similar - you may be able to determine 
the format by running `file` upon it.

I have edited your message for clarity of reading - perhaps when 
someone bottom-posts in reply to your questionn you could refrain from 
top-posting, as it breaks the logical reading sequence.

Stroller.



More information about the X4U mailing list