This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: translate function & hex data


I've since tried your example and it works fine.  I also tried by way of a
simple test:
<xsl:value-of select="./@RSRC[translate('a', 'a', '&#x00;')]" />
and it fails (raises IE5.5 catch-all type error message).  But if I change
the numeric entity to &#x01, it works.

Both &#x01; and &#x00; are illegal in XML, as are most C0 characters. Seems
like Microsoft is being liberal with the specifications again.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]