On 7/25/2012 5:40 PM, Sebastian Rahtz wrote:
> hmm, my implementation is a bit weak, I can see. John's method is more robust. I suspect
> it can be simplified in XSLT 2.0, mind (JM uses XSLT 1.0, by the look of it).
Yes, I use XSLT 1.0 exclusively, because my stylesheet runs in the browser.
Also, I'm not a great XSL programmer. If you see improvements that I
could incorporate, even in XSLT 1.0, do please let me know.