|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: More entity confusion and my opinion on the right way
Andrew Bunner wrote: > > Here's what I don't understand about the entity-writing problem... > > If I include & in my source document or stylesheet, I get & in my > result document (this is good since my result document is HMTL). > > If I include " in my source document or stylesheet, I get " in the > result document. Hmm. OK. " and " are equivalent. I made XT use " in content; I could as easily make it use ". Does anybody care one way or the other? > Of even greater confusion to me is if I include © in my source document. > In this case, I get an error... © references an undefined entity. BUT, if > I include © in my source document, I get © in the result document. > 'Hooray!' I think to myself, this must mean that if I include an entity > reference to an ascii code, it will get translated to the right HTML entity. Right. That's what XT does when you use the HTML namespace as the result. > Wrong. > >   (space) gets translated to the space character, not to corresponds to   not  . James 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








