|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Using Entity References in XSL Templates
Hi,
I'm having a problem with entity references in my XSL templates. The
entity is defined in the DTD specified in the <xsl:output> tag. (As it
happens, the output DTD is XHTML, and the entity reference is to
but my question applies to entity references in general.) But I get a
"reference to undefined entity" error message from the XSL processor.
(I've tried XT, MSXML, and Stylus.)
I know that I can define the entity at the top of the stylesheet, like
this:
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " ">
]>
But then the stylesheet processor resolves the entity reference, which
isn't what I want. I want the entity reference to be *passed through*
to the output, which I can't seem to do. Am I missing something?
Thanks,
- Ted Epstein
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








