W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > April 2007

Re: Renaming 'target' and handling "inner" matches

From: Norman Walsh <ndw@nwalsh.com>
Date: Sun, 29 Apr 2007 17:51:44 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87mz0q26j3.fsf@nwalsh.com>
/ Alex Milowski <alex@milowski.org> was heard to say:
| The rest have definable semantics for handling inner matches:
|
|  * p:insert - it is well defined where the insertion happens for each
|    match regardless of whether one is contained in another.  The canonical
|    example here is inserting a paragraph into every 'div' in an XHTML
| document.

It should be made explicit that the matching doesn't proceed inside
the inserted content.

|  * p:rename - Renaming an element doesn't affect its child.

So nested elements are all renamed?

|  * p:unwrap - Removing an element wrapper doesn't affect its children.

So nested elements are also unwrapped?

|  * p:wrap - Added an element wrapper doesn't affect its children.

So nested elements are also wrapped?


                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Part of thinking is its cruelty, aside
http://nwalsh.com/            | from its contents. It is the process of
                              | detachment from everything else, the
                              | ripping, the wrenching, the sharpness
                              | of cutting.--Elias Canetti

Received on Sunday, 29 April 2007 21:51:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:50 GMT