[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Testing the number of child elements

Subject: Re: Testing the number of child elements
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 11 Feb 2000 09:08:48 GMT
invisibletimes
> You need to prevent your processor from seeing an entity, so the answer is 
> simply 
> &amp;InvisibleTimes;

er no, if you'd tried that you would have found that it didn't work.
(You get  &amp;InvisibleTimes; as th eoutput unless you are writing
text rather than xml)

Going back to the original posting

> with <!ENTITY  invti "&InvisibleTimes;">  and I update the ...

No that just defines &inverti; to be &InvisibleTimes; which is not
defined. What you need to do is define "&InvisibleTimes;
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'>&amp;InvisibleTimes</xsl:text>" >

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.