> > >>I am not too familiar with the way torque works so forgive me if I am
> > >asking
> > >>something stupid.
> > >>My question is:
> > >>Is there any particular reason not to use XSLT to get SQL, DBMap etc.
> from
> > >>XML instead of templates/java code? That seems to be cleaner.
> > >
> > >I looked at it, but I needed something that could do some string
> > >manipulation. Table Names like my_table should become MyTable for java
> > >code.
> >
> > AFAIK XSL can do string manipulation just fine.
>
> No, XSL's string functions are not nearly powerful enough for some of the
> things we want to do.
Anything else but converting "MY_TABLE" to "MyTable" ? For this particular
case I would simply add attribute javaname to table element. I thinks that's
a good idea anyway.
> We use XSL for a LOT of stuff, and seriously
> considered it in this case, but it really is simpler with templates.
I would appreciate if you could expand on that. Would be really
interesting...
Regards, Fedor
_______________________________________________________
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]