Subject: Re: [xsl] Regular expression /s whitespace : Which whitespace? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 20 Apr 2006 18:40:22 -0400 |
http://www.w3.org/TR/xmlschema-2/ especially Appendix F, Regular Expressions
http://www.w3.org/TR/xpath-functions/ 7.6.1 Regular Expression Syntax
I hope that helps, Wendell
I am using count(tokenize(lower-case(.),'(\s|[,.!:;])+')[string(.)]) -a technique I retrieved from the list for counting words. I have been questioned about the regular expression that is being used to find white spaces. The content can contain many kinds of whitespaces and i am being asked to defend using this expression to find words. Does the saxon 8b interpretation of this regular expression covers as whitespaces
--------------------Karen McAdams
====================================================================== 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 -> |
---|---|---|
[xsl] Regular expression /s whitesp, Karen McAdams | Thread | RE: [xsl] Regular expression /s whi, Michael Kay |
[xsl] Regular expression /s whitesp, Karen McAdams | Date | RE: [xsl] Regular expression /s whi, Michael Kay |
Month |