- From: Alessandro Vernet <avernet@orbeon.com>
- Date: Fri, 23 May 2008 00:41:33 -0700
- To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>
On Thu, May 22, 2008 at 10:43 AM, Norman Walsh <ndw@nwalsh.com> wrote: > If I run <p:wrap match="section" wrap="chap"/> what do I get? > > This: > > <doc> > <chap><section>...</section></chap> > <chap><section>...</section></chap> > <chap> > <section> > <section/> > </section> > </chap> > </doc> > > or this: > > <doc> > <chap><section>...</section></chap> > <chap><section>...</section></chap> > <chap> > <section> > <chap> > <section/> > </chap> > </section> > </chap> > </doc> The latter seems to give pipeline authors more latitude: assuming that p:wrap wraps every element matched by the "match" expression, if pipeline authors only want to wrap top-level sections, they can always write match="/doc/section". Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet
Received on Friday, 23 May 2008 07:42:19 UTC