• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Can I use XSLT in place of business logic

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,
I have some business logic in Java, I just want know , will it possible to do the same in XSLT.
My business logic look like...
start....
for()
{
if()
{
}
else
{
}
else if()
{
}
else if()
{
}
}
end...
I have few more logic for File handling..
and I have few more try and catch blocks..
is it feasible to use XSLT for business logic..
If yes..
How to write the code ..I am new to the XSLT..
Kindly any one give me the valid suggestions..
waiting
KRish
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Chenna,
No, XSLT can not be used for replacing business logic. XSLT is normally used for transforming XML documents into other XML documents, but you can use XSLT to transform XML to HTML, plain text, RTF, etc.
Basically XSLT is used for transforming data, not implementing business logic. At best, you can use standard XML files to hold properties or other metadata that you want to use to help drive your application.
 
Chenna Krishna
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Suave ,
That's Nice,
I got the exact answer..
Thanks a lot
Krishna
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic