This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
imode entity problem for pictographic entities.. very annoying
- From: Lea Allison <Lea dot Allison at virgin-exp dot com>
- To: "XSL List (E-mail)" <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 25 Jul 2002 15:52:31 +0200
- Subject: [xsl] imode entity problem for pictographic entities.. very annoying
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hello
I seem to have gotten stuck on my XSLT document.
I am transforming an XML doc into an iHTML document for a mobile phone. The
phones support character entity values such as 웠 etc, but I cannot
get my XSLT doc to leave it alone. Actually I think its the transformation
done by javax.xml.transform.Transformer class???
I've tried:
<!DOCTYPE stylesheet [
<!ENTITY phone "<xsl:text
disable-output-escaping='yes'></xsl:text>">
]>
which should display an icon picture of a telephone but what I actually get
out in the HTML doc is:
<?javax.xml.transform.disable-output-escaping
?>?<?javax.xml.transform.enable-output-escaping ?>
So I get a question mark already transformed by the transformer when I just
want the entity that I had discribed.
What am I on about you ask? What I need is for the final iHTML document
produced to contain:
<p>hello world, call me on  +12345</p>
not:
<p>hello world, call me on <?javax.xml.transform.disable-output-escaping
?>?<?javax.xml.transform.enable-output-escaping ?> +12345</p>
so that the browser can do the conversion...
Thanks very much
Lea
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list