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

Re: asp directives

From: Martin Duerst <duerst@it.aoyama.ac.jp>
Date: Wed, 24 May 2006 10:41:02 +0900
Message-Id: <6.0.0.20.2.20060524103517.087bc600@localhost>
To: ve3ll@rac.ca, www-amaya@w3.org

One way to solve this would be to run a script before and
after editing, i.e.
example.asp --script1--> example.html(editing with Amaya)
                                     --script2--> example.asp

Both scripts would change the extension, and script1 would
change asp stuff (<%...%> and maybe others, I'm no expert
in asp) to some form that Amaya leaves alone. This would
have to be thought through a bit, e.g. if you convert to
a comment, you want to make sure you can distinguish comments
that originally were asp and other (plain old) comments.
Also, if this turns out to still be necessary, you may want
to add linebreaks at well-defined intervals, and mark them
so that you can remove them when you go back.

Regards,    Martin.

At 20:00 06/05/23, ve3ll@rac.ca wrote:
 >
 >asp directives begin with <% and end with %>
 >
 >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
 >element.


#-#-#  Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-#  http://www.sw.it.aoyama.ac.jp       mailto:duerst@it.aoyama.ac.jp 
Received on Wednesday, 24 May 2006 02:33:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:36 UTC