Re: iWork Numbers
Re: iWork Numbers
- Subject: Re: iWork Numbers
- From: Bruce Robertson <email@hidden>
- Date: Mon, 27 Aug 2007 20:00:13 -0700
>
>> Re: Numbers and XML - of course, you can always read and write the XML
> directly, but you can do that in any environment. Maybe I'm missing
> something,
>
>>>>> Can you? Really? Is the document format specified somewhere, and if so
> where? Or is this easier than I imagine? Which is possible since I don't do
> a lot with XML.
>
>
> Yes, yes you really can. I've parsed very large and complex XML documents
> using nothing but pure appleScript.
>
> It's basically a text document with XML tags. Different XML documents can
> have different specs, which are often, but not always, spelled out in a
> separate document.
>
> No knowing exactly how easy you've imagined, I'd guess yes, working with raw
> XML is easier than you may have imagined.
>
> ES
I'm sorry but this seems extremely superficial.
Let's just take the Hawaii Vacation example.
One of the tables is "Gadgets". It has 12 data rows and is 3 columns wide;
plus header. Only six data rows contain data. It begins like this:
<sf:tabular-model sfa:ID="SFTTableModel-5" sf:name="Gadgets"
sf:id="931928960B595C3D00970EA600000000" sf:num-header-rows="1"
sf:num-footer-rows="0" sf:num-header-columns="0" sf:name-is-visible="true"
sf:grouping-enabled="false"><sf:grid sfa:ID="SFTTableGrid-5" sf:ocnt="33"
sf:numcols="3" sf:numrows="13" sf:hiddennumcols="0"
sf:hiddennumrows="0"><sf:columns sf:count="3"><sf:grid-column
sf:width="98.064529418945312" sf:preferred-width="98.064529418945312"
sf:fitting-width="84.245895385742188"/><sf:grid-column
sf:width="58.967739105224609" sf:preferred-width="58.967739105224609"
sf:fitting-width="41.657913208007812"/><sf:grid-col
The unpacked XML for this simple table is 11,000 characters and about 230
XML entitites.
Let's just take the simple question of adding a new table and just take a
fragement of that - how do I assign an ID to my new table?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden