Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] Keys and select distinct - is that the solution ?

From: Joseph Dane <jdane@---------->
To:
Date: 6/5/2006 6:45:00 PM
Christian Rasmussen <christiankrasmussen@xxxxxxxxx> writes:

> I still don't see why it has to do with grouping. you should be able
> to pick out elements by their content, and check to see if that same
> content is present in other siblings? Is it really necessary to do
> grouping to do just that?

I had completely forgotten about the "check for identical preceeding
elements" method, in fact.  yes, you're right that you could use that
approach.  but as David points out, this becomes unworkable with
moderately large documents.  better, IMO, is to start off with
something likely to work reasonably well in all cases.

> All the examples I've found - including the lesson at jenitenissons
> website, only concentrate on the element names, not the content.

you'll need to generalize a bit.  there's nothing fundamentally
different between element names and content, in this context.

-- 

joe


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent