This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Testing the number of child elements
- To: XSL-List at mulberrytech dot com
- Subject: Testing the number of child elements
- From: Emmanuel Pietriga <emmanuel dot pietriga at xrce dot xerox dot com>
- Date: Fri, 11 Feb 2000 08:23:58 +0100
- Reply-To: xsl-list at mulberrytech dot com
I am writing an XSL stylesheet to convert Content MathML to presentation
MathML.
I don't know how to output "unparsed" entitie references in the target
presentation file.
For instance, if in the source document I have
<apply>
<times/>
<ci>2</ci>
<cn>x</cn>
</apply>
I want to output:
<mrow>
<mi>2</mi>
<mo>⁢</mo>
<mn>x</mn>
</mrow>
But if in the XSLT stylesheet I write
......<mo>⁢</mo>........ XT (the XSLT engine I use)
tells me it can't find any definition for that entity (not surprising)
So I had a DOCTYPE in the XSL stylesheet with <!ENTITY invti
"⁢"> and I update the reference in the stylesheet
accordingly, but XT still tells me it can't find a definition for
InvisibleTimes.
I thought about outputing the UNICODE character in place of
⁢ () but I don't think that's such a good
idea since amaya 2.4 fails to understand it.
So, how can I output the raw text ⁢ ?
Thanks.
Emmanuel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list