>> sub e( ) >> { >> return $Server->HTMLEncode( @_ ); >> } > >I might also create an XMLSubs like > > <enc><%= $story->{title} %></enc> > >so that the <enc /> tag does it for you defined like: > >sub enc { > my($attr, $html) = @_; > print $main::Server->HTMLEncode($html); >}
Ahh, I start to see how XMLSubs can be excellent :) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]