- From: David Lee <David.Lee@marklogic.com>
- Date: Tue, 21 Aug 2012 13:05:06 -0700
- To: John Cowan <cowan@mercury.ccil.org>, "public-microxml@w3.org" <public-microxml@w3.org>
For those ignorant and curious like myself Could you point us in the direction of a dummies guide to what AF is about ? ----------------------------------------------------------------------------- David Lee Lead Engineer MarkLogic Corporation dlee@marklogic.com Phone: +1 812-482-5224 Cell: +1 812-630-7622 www.marklogic.com This e-mail and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. Thank you for your cooperation. -----Original Message----- From: John Cowan [mailto:cowan@ccil.org] On Behalf Of John Cowan Sent: Tuesday, August 21, 2012 4:03 PM To: public-microxml@w3.org Subject: Architectural Forms for MicroXML Okay, I've put together an 0.1 draft of Architectural Forms for MicroXML. It's only three pages long (plus a rather lengthy example of transforming HTML to a private format), but it may still be too complicated. AF processing involves a source and an _archmap_ that specifies how to transform the source into the target. The following transformations can be performed: 1) Change the name of an element or send it to the bit bucket, based either on its name in the source or on the value of an attribute, called the _form attribute_, that is specified in the archmap. 2) Determine whether to retain or discard the character content of a mapped element. 3) Determine whether to retain, discard, or recursively process the child elements of a mapped element. 4) Change the name of an attribute. 5) Create a new attribute either with a fixed value or from the character content of its element. 6) Map tokens within an attribute value to other tokens. -- An observable characteristic is not necessarily John Cowan a functional requirement. --John Hudson cowan@ccil.org
Received on Tuesday, 21 August 2012 20:05:37 UTC