[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE:
> I simply need to be able to place some code in either the DTD > or the XSL that allows me to generate entities such as > in my HTML. [...] I just keep on getting   in my HTML > and its wearing me a little thin. Someone already posted the how. Here's some more info that will help explain why. You are not, in your XSL, literally saying what you want in the tangible output. You're saying, using XML (well-formed HTML, in your case), what you want the result tree (intangible) to have in it. Tangible output (which can be in any format) will be derived from this result tree by the XSL processor, possibly in a format that you have hinted at via the result-ns. So your goal, really, is not to put the 6-characters & n b s p ; into the HTML. It is to put Unicode character number 160 (a non-breaking space) in your result tree, and then have faith that the XSL processor, when outputting an interpretation of the result tree as HTML 4.0, will substitute for that character on its own. When you insist on putting all 6 characters & n b s p ; in the result tree,   in the XSL actually does suffice. The problem is that when this result tree is externalized as HTML 4.0, the & character is replaced with the 5 characters & a m p ; by the XSL processor. Hence,   keeps appearing in your HTML. -Mike 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
|