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: Frank Marent <frank.marent@xxxxxxxxxxx>
Date: Thu, 31 Aug 2006 09:57:05 +0200

short feedback on this topic. thanks for everybody helping me. we are now successful with the following statement that selects elements starting with special characters (can probably be optimized but works):

<xsl:template match="*[matches(substring(text()[1], 1, 1), '[&#592;-&#99999;]')]">
<xsl:copy>
...
</xsl:copy>
</xsl:template>


strange is that the matches() regex allows only decimal values as range. 592 represents here hex 0250 IPA characters that is the beginning of special characters for us.

frank


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