W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2006

Re: asp directives

From: Hugh Sasse <hgs@dmu.ac.uk>
Date: Tue, 23 May 2006 14:17:05 +0100 (WEST)
To: ve3ll@rac.ca
cc: www-amaya@w3.org
Message-ID: <Pine.GSO.4.64.0605231404240.25345@brains.eng.cse.dmu.ac.uk>

On Tue, 23 May 2006, ve3ll@rac.ca wrote:

> 
> asp directives begin with <% and end with %>

Not just asp. erb ( Ruby -- for example Ruby on Rails, and PHP) use
these and variants:  <%= ... %>, <%= ... -%> possibly others.

> 
> they are not well formed elements so that is why the removal.
> perhaps you can recognize them as a comment and just leave
> them alone but as they don't close, they cant be treated like an

You mean <.../> by don't close?  Yes, similar to comments and XML
directives <?...>   Note that for at least Ruby % is an escape
character within <%...%>, to allow inserting %> inside a section
of ruby.

If you are unfamiliar with Ruby, see http://www.ruby-lang.org/
If you are unfamiliar with Rails, see http://www.rubyonrails.com/
If you are unfamiliar with erb, see
http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/


> element.     
> 
> 
        Hugh
Received on Tuesday, 23 May 2006 14:54:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:43 GMT