Subject: Re: More entity confusion and my opinion on the right way From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 7 Jan 1999 10:25:22 GMT |
Andrew > 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. James > Right. That's what XT does when you use the HTML namespace as the > result. Ah. So going back to my `writing entities for mathml' question. If MathML had a properly registered namespace set up and if there were a few special control characters that it would be nice to write out as entity references, such as some of the spacing control characters that MathML defines, would it be reasonable for an XSL processor to `know' this and just always write a certain character as for instance ​ rather than &#<some number> if writing to the MathML namespace. I'm not asking whether xt (for example) has an easy hook to customise this today, but whether this (from an XSL/XML viewpoint) would be a reasonable way to approach the problem. (Rather than extending XSL to have a way to control the writing of individial entity references). David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: More entity confusion and my op, James Clark | Thread | Re: More entity confusion and my op, James Clark |
Re: More entity confusion and my op, David Carlisle | Date | TOC- needs help, Dietmar Dold |
Month |