[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
we encounter a strange behaviour with the ∈ entity reference. we can not match this entity. let's say you have an xml file
<Body>∈</Body>
and you're searching by xpath with
//text()[string-to-codepoints(.)[1]=8712]
explanation: we're searching 8712 because ∈ is ∈ (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 - ∈ is not catched. when changing ∈ to
<Body>∈</Body>
(which should be the same character reference) then the xpath matches. we have strange results working with ∈ and no idea what the problem may be.
frank
[xsl] ∈ is not ∈...?
Subject: [xsl] ∈ is not ∈...? From: Frank Marent <frank.marent@xxxxxxxxxxx> Date: Thu, 19 Oct 2006 17:44:05 +0200 |
hi all (hi david!)
we encounter a strange behaviour with the ∈ entity reference. we can not match this entity. let's say you have an xml file
<Body>∈</Body>
and you're searching by xpath with
//text()[string-to-codepoints(.)[1]=8712]
explanation: we're searching 8712 because ∈ is ∈ (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 - ∈ is not catched. when changing ∈ to
<Body>∈</Body>
(which should be the same character reference) then the xpath matches. we have strange results working with ∈ and no idea what the problem may be.
frank
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] RE: xsl-list Digest 19 Oct 20, McDonald, Shaun | Thread | RE: [xsl] ∈ is not ∈.., Michael Kay |
[xsl] RE: xsl-list Digest 19 Oct 20, McDonald, Shaun | Date | [xsl] how to add a namespace to the, Sam Carleton |
Month |