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

Entity reference problem

Subject: Entity reference problem
From: Ryan Graham <Ryan.Graham@xxxxxxxxxxxxx>
Date: Wed, 15 Oct 2003 15:23:51 -0700
xml entities hyphen
Hi,

I am currently using transforming XML -> XSL-FO -> PDF.

The source XML file is validated against a DTD that references several
entity files. The entities are scattered through my source XML; here is an
example:

<para>&rdquot;Foo&hyphen;Bar&ldquot;</para>

This should result in the following output:

"Foo-Bar"

All of the entities are resolved properly except for "hyphen". (It just
comes over as the generic "block" character) Here is the entity declaration:

<!ENTITY hyphen "&#x002D">

All the entities are declared with their equivalent Unicode in this same
manner, and I have tried using both Verdana and Arial fonts for output, to
no avail. Does anyone know what could be going wrong here??  I have even
tried declaring the hyphen entity as another entity that I know is resolved
correctly:

<!ENTITY hyphen "&mdash;">

Any insight is greatly appreciated.

Thanks,
Ryan Graham

 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.