Subject: Re: [xsl] best-technique for selective group and merge? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 02 Mar 2004 14:29:34 -0500 |
At 2004-03-02 08:43 -0800, James A. Robinson wrote:The feature can contain multiple configs, each of which I want to merge across features: ... I want to be able to select /config_datastore/site/* and perform selective grouping (on feature @name) and merging (on the feature/config elements) to return: ...
I found I could wrap my head around this problem using variables instead of keys. An example is below giving your desired results. Note how I take advantage of the node-set comparison of a single value to a set of values to get from all configs only those whose feature's name is in a set of names.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] best-technique for select, G. Ken Holman | Thread | Re: [xsl] best-technique for select, G. Ken Holman |
Re: [xsl] reccursive sum ?, David Carlisle | Date | Re: [xsl] best-technique for select, G. Ken Holman |
Month |