This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Testing the number of child elements
- To: xsl-list at mulberrytech dot com
- Subject: Re: Testing the number of child elements
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Fri, 11 Feb 2000 09:08:48 GMT
- References: <200002110847.JAA32618@statistik.cinetic.de>
- Reply-To: xsl-list at mulberrytech dot com
> You need to prevent your processor from seeing an entity, so the answer is
> simply
> &InvisibleTimes;
er no, if you'd tried that you would have found that it didn't work.
(You get &InvisibleTimes; as th eoutput unless you are writing
text rather than xml)
Going back to the original posting
> with <!ENTITY invti "⁢"> and I update the ...
No that just defines &inverti; to be ⁢ which is not
defined. What you need to do is define "⁢
preferably by just including the.ent files from the mathml.dtd
in which case you get character data output.
However unfortunately you currently _need_ to have &xxx; syntax for
amaya (which is certainly a bug in amaya, which I keep meaning to
report)
so for amaya I use a special set of entity definitions that look like
<!ENTITY InvisibleTimes
"<xsl:text
disable-output-escaping='yes'>&InvisibleTimes</xsl:text>" >
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list