OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] XML friendly runtime templating languages

[ Lists Home | Date Index | Thread Index ]

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 sucks.

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/




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS