|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Testing the number of child elements
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
|
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








