[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML friendly runtime templating languages


velocity dvsl syntax
Nathan Young wrote:
 > Hi.
 >
 > You didn't say why you eliminated JSP from your list.  I've heard that
 > some of the newer taglib technologies provide pretty good XML hooks.

Hi,

I did not eliminate it. I mainly want to know if the are other XML 
friendly templating languages out there.

I have XSL that writes out to JSP too. If I write the source XML 
generically enough, I can generate a different versions of the webapp in 
JSP and Velocity (or whatever). I have used both Tomcat and Resin, both 
are buggy with the XML syntax, though using the Expression Language is 
fine. Since using the XML syntax is buggy you have to write XSL that 
uses xsl:text/@disable-output-escaping='yes' which kind of [expletive deleted].

I write the source XML that contains the JSP code in the XML syntax and 
transform out to the old syntax. The benefit here is during authoring 
time I can remove/replace the code so the user sees a clean page which 
is not running as a JSP in a 'preview'.

Another thing with JSP is you can access all of java pretty easily. I 
think Velocity offers a cleaner separation of concerns.

 >
 > I just about died when a group where I work wanted us to write DVSL
 > templates:
 >
 > http://jakarta.apache.org/velocity/dvsl/users-guide.html

yea, I don't see the point of dvsl

 >
 > ----------->Nathan
 >

best,
-Rob

p.s. anybody wanna buy a loft in San Francisco (moving to New 
Hampshire). pictures: http://www.flickr.com/photos/iva/sets/195329/

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.