Subject: Re: New twist: eliminating nodes with duplicate content, case-ins ensi tive From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 10 Dec 1999 08:22:57 GMT |
> 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: New twist: eliminating nodes wi, Pawson, David | Thread | RE: New twist: eliminating nodes wi, Kay Michael |
Re: XSLT Question: Inserting a DOCT, David Carlisle | Date | RE: XSLT Question: Inserting a DOCT, Kay Michael |
Month |