[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

imode entity problem for pictographic entities.. very

Subject: imode entity problem for pictographic entities.. very annoying
From: Lea Allison <Lea.Allison@xxxxxxxxxxxxxx>
Date: Thu, 25 Jul 2002 15:52:31 +0200
javax.xml.transform.transformer entity
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 &#50912; 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'>&#59087;</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 &#59087; +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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.