Subject: Re: [xsl] Yet Another Entity Ref question! From: Mike Brown <mike@xxxxxxxx> Date: Thu, 19 Dec 2002 13:00:05 -0700 (MST) |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Yet Another Entity Ref questi, Marco Guazzone | Thread | Re: [xsl] Yet Another Entity Ref qu, Marco Guazzone |
[xsl] German character set problem(, Andreas Schlegel | Date | Re: [xsl] German character set prob, Mike Brown |
Month |