[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Entities in XSL (again)
It's also may be worth examining why you want the 'nbsp' entity declared for your stylesheet. I note that it is not referenced from within the stylesheet you provided, but perhaps that was just snippet-code, not your real program. In any case, it can be particularly useful to use entities when declared externally so that their values can be changed in 1 place and be registered by both the stylesheet and the instances. But if you're just using the entity to make recording a character you can't type on your keyboard easier for your encoders, using " " in the stylesheet and " " in the instances will work just fine. (Presuming, of course, that 'nbsp' has been properly declared in the instance, as George pointed out.) This is because by the time the XSLT engine sees these, each has been boiled down to the actual character U+00A0 (which is 1100001010100000 if using UTF-8 :-), so they're the same.
|
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
|