[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Norwegian characters and XT
>>> <u970130@xxxxxxxxxxxxx> 03/30 8:03 pm >>> > I successfully used XT to create a html file from xml and xsl. The > problem now is that the 3 special norwegian characters are not > formatted correctly. I tried making a program that replaces these > with the html-code for the corresponding character, like ø > and Ø, but using ø resulted in an errormessage like > "reference to undefined entity ø" from XT, and using Ø > instead didn`t solve the problem either. The 'ø' undefined will be because your DTD doesn't define ø I've taken to including the 3 Entity files from the Voyager DTD to get the values defined. (voyager is the XML reformulation of HTML, but the entities are fairly standard). One of the problems that I have found when using XT to generate HTML is its desire to use ISO entity names rather than numbers wherever possible. I guess that this means HTML4 defines more entities than previous versions did, but it means that XT formatted files don't work correctly with Netscape which has only a very limited entity collection. I've got a version of the 'HTMLOutputHandler' (which I've "call" an HTML3.2 handler) which has all of the non-netscape supported entities commented out. That way, if you define the entities correctly in your DTD they will be rendered correctly on output - at least by BOTH netscape & IE) Alistair XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|