Re: A proposal..

2001-08-07 Thread Joshua Chamas
raptor wrote: > > <%# &my:preif() %> > > <%# &my:preelse() %> > > > > Will my::preif and my:preelse have the access to the HTML code in their > container ..? > At compile time, this type of functionality might have access to the ASP code in its container as a string only. > > I

Re: A proposal..

2001-08-07 Thread raptor
> What I mean by post processing is for a tag like this > > > some HTML > <% # ASP code block %> > > > The &my::tag() sub executes after the contained HTML & ASP > do, so that its $HTML in $_[1] is static output from the > wrapped ASP/HTML. You don't get any function executing > as a prepro

Re: A proposal..

2001-08-07 Thread raptor
> What I mean by post processing is for a tag like this > > > some HTML > <% # ASP code block %> > > > The &my::tag() sub executes after the contained HTML & ASP > do, so that its $HTML in $_[1] is static output from the > wrapped ASP/HTML. You don't get any function executing > as a prepro

Re: A proposal..

2001-08-06 Thread Joshua Chamas
raptor wrote: > > > > But, if you really want pre processing & post > > processing, we need something new, since the current > > XMLSubs model just handles post processing. > ]- isn't the XMLSubs replace the tag with function-call before executing the > ASP code... ?!! What I mean by post process

Re: A proposal..

2001-08-06 Thread raptor
> Off the top of my head, why have your tags translate to > my::default, wouldn't this be better to have: > > PerlSetVar XMLSubsDefault my::default > > then > > sub my::default { > my($tag_name, $args, $html) = @_; > ... > } > > But, if you really want pre processing & post > processing, we n