Re: applying templates to all but ...
here you are testing against the string 'first-author'
So why did it work correctly? Because the value was specified and it didn't need to default?
Anyway, I removed the default select. Thanks.
It would be simpler and perhaps a bit more efficient to use
I'm a little worried about performance; a small document is now giving me an execution time of 3796 milliseconds. Perhaps this trick can shave off some of that in a few places.
<xsl:when test="position() = last() - 1"> and </xsl:when>
I guess that'll need to be configurable. Currently the config language has an attribute to distinguish "and" and "&" like so:
This is elegant (I think), among other reasons because international-ready. I really didn't want to have to worry about commas there!
what encoding is this? Three bytes with octal 227 that's hex 97, in latin1 that would be a non printing control point (Unicode x97 is END OF GUARDED AREA whatever that means)
Between newsreaders and buggy pasting using emacs on Mac OS X, who knows what happened. The source is utf-8, though.
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