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]

Fw: Bug in SAXON (entity/character set ) ??



 I am having trouble getting the character • to output corrrectly
using
 SAXON. Can any one provide a working example of how to do this.

 I created a small XML test file as shown below. I then wrote the XSLT to
 display @e_test1 and @e_test2

 I used both MSMXL and SAXON and saved both results to a file. I opened the
 respective files in both  IE and Netscape.
The MSXML transform rendered the bullet (&#8226) correctly.
 The SAXON transform produced  "gibberish" characters.
 Can anyone offer some help with this ??

 <?xml version='1.0' encoding="ISO-8859-1" standalone="yes"  ?>
 <?xml:stylesheet type="text/xsl" href="e_test.xsl"?>
 <!DOCTYPE entity_test [
  <!ELEMENT entity_test  ANY  >
  <!ATTLIST entity_test e_test1  CDATA #IMPLIED>
  <!ATTLIST entity_test e_test2  CDATA #IMPLIED>

  <!ENTITY bullet  "&#38;#8226;">
 ]>
 <entity_test e_test1="&#8226;"  e_test2="&bullet;" />





> "You already have zero privacy -- get over it !!
> Melvyn Rosengarden
> melrose@rochester.rr.com
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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]