[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: What does the phrase "duplicates removed" mean pr

Subject: Re: What does the phrase "duplicates removed" mean precisely?
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Wed, 1 Feb 2006 13:09:46 +1100
Re:  What does the phrase "duplicates removed" mean  pr
On 2/1/06, Mark Wilson <drmark@xxxxxxxxxxxxxxx> wrote:
> In reading Michael Kay's XPath 2.0, I frequently encountered the phrase,
> "...returned with no duplicates...". I checked the FAQ mantained by Dave
> Pawson under both XSLT Terminology -- where "duplicates" is used to define
> the term "Node Set" -- and under XSL Frequently Asked Questions where
> "duplicates" has its own heading. From that reading, I am all but convinced
> that "duplicates" refers to the (I cannot recall the correct XML term)
> content text demarked by a starting and ending XML element pair, as in
>
>    <SomeTag>This is the text</SomeTag>

Not only. This may be attributes with the same (repeating) value.
>
> Is this correct, or is my understanding imperfect? Are there any other kind
> of "duplicates" removed?

I find the notion of "duplicates" much broader -- generally they are a
set of items having the same value (generally expressed as an XPath
expression). In XPath 2.0 these items may even be scalars (not nodes).

In any such case as defined above, the task of "removing duplicates"
(or grouping)  is meaningful.


--
Cheers,
Dimitre Novatchev
---------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all.


> Thanks,
> Mark

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.