xsl-list
[Top] [All Lists]

Re: [xsl] recognize character entities

2006-08-31 05:56:56
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--