You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by "RAYtracer__ .:<DREAMWALKER>:." <li...@yandex.ru> on 2001/09/08 23:38:31 UTC
Re[2]: problems with 'href', 'src' and ASP syntax
08.09.2001 23:28
hello, Gerald!
Saturday, September 08, 2001, 8:19:28 PM, you wrote:
>> I've tried to rewrite some of my old Embperl code to ASP style but not
>> the whole code worked correctly after that, here an example:
>>....
>> but the same with ASP
>> <a href="<%= $THEURL %>">
>>becomes
>> <a href="<%= $THEURL %>">
> Yes, the problem is that you have a HTML Tag (Embperl handles <% %> as a
> tag) inside another tag, which isn't possible. I am not sure how native ASP
> solves this problem. Is the above correct within MS ASP ?
no idea, I try to avoid using any M$ software =)
but in an article in the iX(08) [ http://www.ix.de ] named something like
"windows/IIS/ASP contra Linux/Apache/PHP"
there where examples of ASP codem and there were an ASP tag inside a
table tag, or so....
> It should be possible to extent the syntax definition of ASP to correctly
> handle things like the above
??? sorry, no idea what you mean
bye =)
see WINDOWS and IIS dieing http://www.netstat.ru/
-------------------------------------
Ivan G. Shevchenko
{XSDI}[RAYtracer__ .:<DREAMWALKER>:.]
raytracer__@mail.ru
http://xlnc.port5.com/
81800129
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Re[2]: problems with 'href', 'src' and ASP syntax
Posted by Gerald Richter <ri...@ecos.de>.
>
> no idea, I try to avoid using any M$ software =)
me too, but it's not always possible...
> but in an article in the iX(08) [ http://www.ix.de ] named something like
> "windows/IIS/ASP contra Linux/Apache/PHP"
> there where examples of ASP codem and there were an ASP tag inside a
> table tag, or so....
>
> > It should be possible to extent the syntax definition of ASP to
correctly
> > handle things like the above
>
> ??? sorry, no idea what you mean
>
The ASP syntax is defined inside of Embperl/Syntax/ASP.pm, this could be
modified to get it working. I have done a quick look. The append syntax
definitions works, if you have syntax = ASP EmbperlHTML or syntax = ASP.
It's doesn't work correctly together with EmbperlBlocks syntax is set
together with ASP (EmbperlBlocks defines all the [ .. ] blocks). So if you
like Embperl possibilites within HTML set
SetEnv EMBPERL_SYNTAX "ASP EmbperlHTML"
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------