Re: writing entity references.
> I guess the answer is "post-process". Define an entity InvsibleApply > and have it expand to something like ##InvisibleApply## > ... then s/##(\w+)##/\&$1/ That would work in some situations, but it's no fun is it:-) I could write the whole transformation in perl (or even in TeX) but the aim of the game at the moment is to see whether I can write it in XSL (either a current or future draft). In particular, long term, I'd like to see a situation where the browser had integrated XSL support along with support for math formatting objects. Then a stylesheet needs to do any transformations that it needs completely, without having any chance to post-process. (Although there may of course be some hook to some scripting language somewhere, as discussed on this list at some length previously..) In this case the particular problem of writing explicit XML entities goes away as you would be transforming to formating object tree rather than to presentation mml, but still this is the main reason I want to see how far I can get in a `pure' xsl transformation. David 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