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

Re: Entity references in xml output

Subject: Re: Entity references in xml output
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 2 Mar 2000 17:57:12 GMT
bdquo utf 8
> <body2>Blah again and again and &bdquo; &myentity;</body2>

remember that _all_ these entity refernces are resolved by the XML
parser before XSL even sees your document. So there is no way of
saying in XSL that you want to `keep'  &bdquo;.

What you could do is say that you want the unicode character number
1234 (whatever it is) to be always outout as  &bdquo; thus it 
would be output that way however it was input.

This is how the html output method works for the characters that it
outputs as entity references.

So basically you have to extend your xml system and add a non standard
output type that does this.

This is probably a lot of work and you _shouldn't_ have to do it.
_every_ XML system will accept the characters as utf-8 encoded data
so why go to much effort to avoid that?

David


 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.