Subject: writing entity references. From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 5 Jan 1999 10:18:42 GMT |
Using the current draft, is it possible to write out entity references? I am using the latest xt and trying to use the transformation part of xsl to write out MathML. If my template has <mo>&InvisibleApply;</mo> I get the following error from xt (as I would expect) reference to undefined entity "InvisibleApply" However if I try anything such as <mo>&InvisibleApply;</mo> or various incantations with <![CDATA[ then I get no error, but instead get &InvisibleApply; written to the output, which is not what I want either. I could make the entity known to xt with its definition as in the MathML recommendation, which is a character entity pointing at some slot in the unicode private area, but (unfortunately?) some MathML processors are really expecting to see the entity name explictly rather than the equivalent unicode character. In anycase using the names keeps the generated MathML being more or less humanly readable. I feel that I am missing something obvious.... David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RFC on ways to do XML => HTML on th, Andrew Bunner | Thread | Re: writing entity references., James Clark |
RFC on ways to do XML => HTML on th, Andrew Bunner | Date | Re: writing entity references., James Clark |
Month |