[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] outputting HTML á etc.
I'm sure it's embarrassingly simple, but nevertheless a question about outputting escape characters like á for HTML has me stumped. My xml document instance conforms to the recent xml-ized TEI DTD. I use in an internal declaration (I will make them part of my DTD once it works right) the following sort of entity declarations <!ENTITY ii "í"><!-- entity decl. for unicode i with acute --> <!ENTITY oo "ó"><!-- entity decl. for unicode o with acute --> I am transcribing tapes, so I need something simpler to type out than the unicode escape sequence (ⅈ is much easier than í). My document instance parses (XP) without problem, and SAXON outputs an HTML file as per my XSL specs, rendering ⅈ as í in the output file. This would be fine, if I could count on all user agents having a unicode font in place; better would be if I could output í. If I declare "í" in place of "í" in my entity decl., the parser says I am using an undeclared entity in my document (expanding the entity it finds a non-XML conformant entity for i acute). I am sure I am missing something very basic here. Help (and tolerance for a newbie) is much appreciated. Bruce Rosenstock Religious Studies and Classics Project Manager, Folk Literature of the Sephardic Jews Digital Library 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
|