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

Re: p:insert

From: Alex Milowski <alex@milowski.org>
Date: Sun, 29 Apr 2007 14:16:45 -0700
Message-ID: <28d56ece0704291416p7a2fdbb4qed2896fc2a3880fc@mail.gmail.com>
To: public-xml-processing-model-wg@w3.org
On 4/22/07, Norman Walsh <ndw@nwalsh.com> wrote:
>
> Is the target option of p:insert a match pattern or a select pattern?
> (Can we please name it 'select' or 'match', as appropriate)
>
> If the pattern matches more than once, is the content inserted more
> than once?



I  was thinking this step had match semantics.  Once you match you do
the insert and continue.

It is possible to have this do select semantics.  For example, insert a
paragraph into every 'div' in the document.

It could be specified either way.


-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics
Received on Sunday, 29 April 2007 21:16:50 GMT

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