[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: ∈ is not ∈...?

Subject: RE: ∈ is not ∈...?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 19 Oct 2006 17:28:09 +0100
isin
What does

<xsl:value-of select="string-to-codepoints(Body)"/>

give you?

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Frank Marent [mailto:frank.marent@xxxxxxxxxxx] 
> Sent: 19 October 2006 16:44
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  &isin; is not &#x02208;...?
> 
> hi all
> (hi david!)
> 
> we encounter a strange behaviour with the &isin; entity 
> reference. we can not match this entity. let's say you have 
> an xml file
> 
>    <Body>&isin;</Body>
> 
> and you're searching by xpath with
> 
>    //text()[string-to-codepoints(.)[1]=8712]
> 
> explanation: we're searching 8712 because &isin; is &#x02208 (http://
> www.w3.org/TR/MathML2/bycodes.html) and 2208 is decimal 8712.
> 
> but there is no match with that expression. we tried by xslt 
> with saxon 8.7.3J on windows xp and by oxygen 7.2 on windows 
> xp with direct xpath match - &isin; is not catched. when 
> changing &isin; to
> 
>    <Body>&Element;</Body>
> 
> (which should be the same character reference) then the xpath 
> matches. we have strange results working with &isin; and no 
> idea what the problem may be.
> 
> frank

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.