Kjetil Kjernsmo wrote:
Well, what made me decide in favor of SimpleTaglib was this sentence from Barrie's tutorial:I'm no expert on the various .*Taglib.* modules, but I /think/ that what Barrie meant there is that SimpleTaglib has better support for _outputting_ namespaced documents. If you only use namespaces in the XSP itself (which is normal), then there is no difference. The $NS global is there to tell the XSP processor which XSP namespace your taglib is responsible for, but has nothing to do with the namespace(s) of what you output.
| This module performs roughly the same function as Steve Willer's | TaglibHelper, but supports namespaces and uses a feature new to Perl,
| subroutine attributes, to specify the parameters and result formatting | instead of a string.
I'm making intensive use of namespaces, so that's important, and the subroutine attributes seemed rather neat, though I've never seen them before.
However, it was never clear to me how SimpleTaglib's use of namespaces was a significant improvement over that of TaglibHelper, because they both have a $NS-variable.
--
Robin Berjon <[EMAIL PROTECTED]>
Research Engineer, Expway
7FC0 6F5F D864 EFB8 08CE 8E74 58E6 D5DB 4889 2488
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
