XML Compatability

Jonathan Lang <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
Could HTML::TEMPLATE be reworked to allow for a more XML-friendly syntax? 


What I have in mind:

Depreciate the current syntaxes for variables and inclusions.  Replace the
former with an Entity-based model: &VAR.variable_name;  Replace the latter
with a Processor Instruction-based model: <?TMPL_INCLUDE url ?>  

The biggest benefit of doing this is that a syntax-highlighting editor
won't choke on it.  

Don't get me wrong: I understand the need for (some) backward
compatability; that's why I suggest depreciating the current variable and
include syntax instead of outright removing it.  

=====
Jonathan "Dataweaver" Lang


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.