| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 2007-08-27, at 20:00:13, Bruce Robertson wrote:
I haven't this app yet, but normally you'd want to use a .xsl file and a utility like xsltproc <x-man-page://xsltproc> or a full-fledged XML editor to do the above. A lot depends on knowing the schema (or DTD) as it defines the file format (and perhaps the format of the IDs very precisely). If for instance, the schema file states that the sfa:ID attribute is "xsd:IDREF" then it means the ID has to be unique among the document (or indeed a document as it might be a conglomeration of several sub-documents). So your .xsl file, as one of the inputs to xsltproc, could parse an existing document, create the new table after the last table slot, and generate it's ID by the XPath function: <xsl:value-of select="concat( 'SFTTableModel-', generate-id() )"/>. or perhaps just create a value one larger than the highest sfa:ID number. Doing that with PVA[1] may be possible, but isn't practical at all. Philip Aker email@hidden |
_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/archives/applescript-users This email sent to email@hidden
| References: | |
| >Re: iWork Numbers (From: Bruce Robertson <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.