Velocity documents are "mostly" xml-safe. There are a couple bothersome issues like relational operators < > and the occasional use of quotes.
Velocity produces text that must be parsed to perform XSLT transforms. This new approach starts immediately with SAX events. Unlike a hypothetical "saxify", it doesn't require fully navigating the source object graph. Cool. The downside is that it introduces yet another templating language syntax. What about borrowing the syntax of XSLT? Presumably your web developers are already using XSLT to handle the outgoing sax events, it would be nice if they could leverage their existing knowledge. Jeff > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:mav-user- > [EMAIL PROTECTED] On Behalf Of Peter Blakeley > Sent: Friday, August 27, 2004 2:59 PM > To: [EMAIL PROTECTED] > Subject: Re: [Mav-user] a new view > > Velocity does not care what type of file it just parses text the input > and out put file can be anything you want xml, xhtml, html, htm, jsp, > txt, vm, css, xslt ..... > You can do everything xslt can do and much more in a far more concise way > > cheers pb.. > > Eelco Hillenius wrote: > > >because that would not give him valid XML source files. > > > >----- Original Message ----- > >From: "Doug Kirk" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Friday, August 27, 2004 8:48 PM > >Subject: Re: [Mav-user] a new view > > > > > > > > > >>Hmmm...I don't want to rain on any parades, but I'm just wondering why > >>you didn't want to use Velocity, as it accomplishes the same thing and > >>it's already written and well-supported? > >> > >> > ------------------------------------------------------------------------ -- > ------------ > Peter Blakeley - Attain Consultants - mobile: 0427-723-814 > > SECURITY > Virus-Protection, Firewalls, Auditing, Upgrades, Repairs, Troubleshooting > > NETWORK > Windows 2000, XP, Design, Setup, Management, Troubleshooting > > INTERNET > Web site design, Java programming, JEE2, JSP, Servlets, RMI, EJB, XML, > Workflow, Accounting, Web Services > > [ attainconsult.com ] > [ coolcat.com.au ] > > "Why open source? because I prefer to surf the wave to the beach rather > than swim all the way in." > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > [INVALID FOOTER] ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php [INVALID FOOTER]