Hi!

I am starting to use AxKit and dropped on this problem.


I would like to write a Taglib with TagibHelper that has tags like

<this-is-my-tag>

As perl functions with "-" in the name are not possible I defined them like

@EXPORT_TAGLIB = (
   'this-is-my-tag($arg1$arg2):isreally=this_is_my_tag'
);

and wrote perl functions like:

sub this_is_my_tag {
   my ($arg1, $arg2) = @_;

....
}

But all attempts to get this working failed.
I get perl errors in the perl code generated by the XSP process.

Only removing the "-" from the tags solved the problem but
this makes the tags look ugly and unreadable....

Comparing the code generated with and without the "-" in the tags
looks like there is one pair of  "{" "}" missing around the code for the
tag with the "-" ....

Could anybody tell me if I do something wrong?
Are "-" not allowed in tags for taglibs generated with TaglibHelper?
Or this a bug in TaglibHelper and is there an easy way to fix it?

Thanks, Peter Mueller
WOTLmade



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to