After looking over your code, I found a number of things that could be improved upon, so I tinkered with it. Hope you don't mind!
I removed the global templates (improving interoperability), updated the syntax to meet XHTML standards, removed that annoying 'empty string' bug, and squeezed the filesize down to 1.4KB.
This is a great concept, and I can definitely see myself using this in the future. Thanks!
Last edited by Algorithm; 12-28-2002 at 11:08 AM..