- From: Innovimax SARL <innovimax@gmail.com>
- Date: Thu, 24 May 2007 18:51:24 +0200
- To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
- Cc: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>
On 5/24/07, Henry S. Thompson <ht@inf.ed.ac.uk> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Innovimax SARL writes: > > > Are you saying that > > p:wrap > > option : wrapper (QName) > > option : match (XPath) > > option : group-by (XPath with matched node as context evaluated as a string key) > > Yes. > > > option : ignore (Pattern matching the ignorable nodes) > > Or not -- I prefer not. > > > p:wrap-sequence > > option : wrapper (QName) > > option : match (XPath) > > option : group-by (XPath with matched node as context evaluated as a string key) > > Yes. > > > How will it works for flatten hierarchie ? > > ... > > I want this > > > > <div> > > <wrapper> > > <h1>...</h1> > > <h2>...</h2> > > <p>..<p> > > <h2>...</h2> > > <h3>...</h3> > > <p>..<p> > > <p>..<p> > > <h2>...</h2> > > <p>..<p> > > </wrapper> > > <wrapper> > > <h1>...</h1> > > <h2>...</h2> > > <p>..<p> > > <h2>...</h2> > > <h3>...</h3> > > <p>..<p> > > <p>..<p> > > <h2>...</h2> > > <p>..<p> > > </wrapper> > > </div> > > > > How will I do that ? > > With XSLT? > > Seriously, this component doesn't do everything, but what it does do > is useful. > > I should, I guess, have raised the question of whether the 'group-by' > XPath is restricted to the subtree which is rooted at the context > node, i.e. the node which matched the 'match' expression. . . And what about the ancestors ? I don't think we need such restriction -- Innovimax SARL Consulting, Training & XML Development 9, impasse des Orteaux 75020 Paris Tel : +33 8 72 475787 Fax : +33 1 4356 1746 http://www.innovimax.fr RCS Paris 488.018.631 SARL au capital de 10.000 €
Received on Thursday, 24 May 2007 16:51:34 UTC