- From: John Cowan <cowan@mercury.ccil.org>
- Date: Tue, 21 Aug 2012 16:03:10 -0400
- To: public-microxml@w3.org
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:03:32 UTC