Hi Gerald and All,
as the first I have to apologize for the false alert with other character
sets
1)
So the problem is that I have globally set
PerlSetEnv EMBPERL_ESCMODE 0
in httd.conf but it probably doesn't work
so adding $escmode=0; to the code solved the problem with Czech and other
int. characters.
2)
> <test type='[+ $some +]'>
> causes this result
> test syntax XML::Embperl::DOM::Attr::iValue (2,12)
There is a example of my test syntax, It is almost same as your testname
syntax
(I'm just learning and testing the syntax feature:-)
package Embperl::Syntax::Test;
use strict;
use Embperl::Syntax qw{:types} ;
use Embperl::Syntax::HTML ;
use base qw(Embperl::Syntax::HTML);
sub new
{
my $class = shift;
my $self = Embperl::Syntax::HTML::new($class);
if (!$self->{-testInit})
{
$self->{-testInit} = 1;
init($self);
}
return $self;
}
sub init {
my $self = shift;
$self->AddTagInside('test', ['type'], undef, undef, {
perlcode => q[{
_ep_rp(%$x%, "this is value of the type
%&type%");
}]
});
}
1;
Thanks
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]