|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Yet Another Entity Ref question!
Marco Guazzone wrote: > I'd like to produce an entity reference, say "©", from XML to HTML > through XSLT; Put Unicode character #169 (the copyright symbol) in your stylesheet with © or © Change your output encoding to us-ascii to ensure that the XSLT processor won't emit that character directly encoded. ASCII does not have a copyright symbol, so the processor will emit a numeric character reference like © or an entity reference like ©. You won't be able to control whether the processor emits © or ©, but I believe most XSLT processors try to emit entity refs when the character falls in the latin-1 range and isn't able to be expressed directly in the given encoding. Mike -- Mike J. Brown | http://skew.org/~mike/resume/ Denver, CO, USA | http://skew.org/xml/ 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
|

Cart








