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

Re: New twist: eliminating nodes with duplicate content, cas

Subject: Re: New twist: eliminating nodes with duplicate content, case-insensi tive
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 10 Dec 1999 08:22:57 GMT
xsl strip duplicates
> an equal? function that returned true
> for a case-insensitive, normalized-space
> equality.

Case insensitivity is probably too politically sensitive.
What's the lower case of I, or of SS ?

I am not sure an equal-up-to-normalize-space is what you want, as having
tested for equality normally you want to use the value, at which point
you often have to normalize anyway. What would perhaps be useful
is an analogue (for dsssl's like David) of process-children-trim
ie apply-templates-trim which just normalizes white space on everything
it touches before matching any templates. Alternatively a variation 
on xsl:strip-space which specifies elements whose text note children
should be normalized (rather than just stripped if completely white)

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.