Le 13/03/2012 17:26, Jon Lang a écrit :
I'm not sure why someone would want to use [% %] instead of <% %>; but I for one wouldn't mind being able to use <?perl ?> (or, more generally, <?/_something_/ ?>, where "_/something/_" can be specified by means of a Notation in the DTD's internal set) instead of <% %>. Admittedly, it's a few more characters to type; but it conforms to the standard xml syntax for Processing Instructions, which appeals to the purist in me.

Of course, I'm not really talking "Mason" anymore at that point, since there's more to Mason than just embedding perl code in an HTML document. So, yeah. :)

--
Jonathan "Dataweaver" Lang


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d


_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users
Because I need to generate text which contains a lot of "<%" and "%>". So, the original syntax of mason is a problem for me.

Now I know how to do with Jérôme's suggestion and John's example

Thanks,

Jean-Michel
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to