Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] recognize character entities


Subject: Re: [xsl] recognize character entities
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 31 Aug 2006 16:10:07 +0100

>   match="*[matches(., '^[&#592;-&#65533;]')]">
> 
> does it and selects all elements starting with a 'special character'!  
> thanks frank

that only selects ones up to 65533, and a lot of math characters are
higher than that: there's a whole block starting at 119808 (hex 1d400) to
120831 (hex 1d7ff)  script A, &Ascr; for example is character 119964.

You might be better writing this as

*[not(matches(., '^[&#31;-&#591;]'))]

David


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor