Re: Embperl 2.0b4_dev-5 problems defining new syntaxes

2002-05-02 Thread Gerald Richter
Hi. > # redefine the tags we want to manipulate attributes for > $self->AddTag('test', ['attribute'], undef, undef, { > perlcode => q[ { > # _ep_sa is an apparently undocumented function which > # allows you to rewrite an attribute of the current node > # specifie

Embperl 2.0b4_dev-5 problems defining new syntaxes

2002-05-02 Thread Michael Stevens
Hi. I'm trying to write a syntax module that rewrites certain tags in HTML, but I'm getting lots of errors when I try to rewrite an attribute that's set by [+ $foo +]. An example is: --cut here-- [$ syntax +III::MinimalTag $] [- $attribute = "moo"; -] --cut here-- The III::MinimalTag module is