Subject: Re: More entity confusion and my opinion on the right way From: James Clark <jjc@xxxxxxxxxx> Date: Wed, 06 Jan 1999 11:23:51 +0700 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
More entity confusion and my opinio, Andrew Bunner | Thread | Re: More entity confusion and my op, David Carlisle |
Re: XT extension mechanism, Flow Simulation | Date | Re: More entity confusion and my op, Chris Maden |
Month |