Re: [xsl] ∈ is not ∈...?

Subject: Re: [xsl] ∈ is not ∈...?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 19 Oct 2006 17:55:21 +0100
It doesn't of course matter what that file says isin is defined to be
(as the XML parser doesn't read the spec) what matters is what the
dtd you are using says isin is defined to be.

Now bycodes.html and the dtd are both generated from unicode.xml by XSLT
(using saxon6 as it happens) so that they should be consistent, but
unicode.xml has a long history (at least 8 years) so that doesn't
guarantee that every version of bycodes.html ever generated is
consistent with every version of the DTD.  Although I don't recall any
changes to isin, and the current version of the dtd does define it to be 8712.

Just look in your dtd to see what it is defined to be, or just do
<xsl:value-of select="Body"/>
and see what character is in the input.

Incidentally why use string-to-codepoints rather than just testing the
is just a long way of writing


Current Thread