• 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

Q 4 Dmitry Kirsanov (1): what is XSLT all about?

 
blacksmith
Posts: 979
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Dmitry Kirsanov,

I'm new to XSLT, my interest has been sparkled
from the viewpoint of my SCWCD preparation.

What is XSLT all about, why do we need it? Does
it only really come in play in the context of
webservices?

Thanks, greetings,

Gian Franco Casula
 
Ranch Hand
Posts: 390
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
XSLT enables you to translate XML files from one form to another.

The need for XSLT is due to the fact that it does this translation with much more ease than a programming language like Java does it, not to talk of the lot of codes that would be written if one has to do it with a language such as Java. Also XSLT is easier to learn and program compared to Jave thus making it much more attractive especially to web authors who do not know how to develop Java applications. Also remember that some browsers have capabilities of processing XSLT which means less work on the server if the processing is done by the browser.
 
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have tried convert xml to html and also text file for database process during my school day, but that was xslt 1.0, for xslt 2.0, will it having more powerful features ?
 
Author
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Re: XSLT in general: The simplest answer is that XSLT is a language with a limited purpose (manipulating XML data) but very high abstraction level. This means that many constructs that are quite laconic in XSLT would be wordy and cumbersome in other languages. In fact, once you learn XSLT, any kind of XML processing in other languages will look wordy and cumbersome to you

Re: XSLT 1.0 vs 2.0: The 1.0 was pretty much a proof-of-concept language. It was conceptually sound but lacked many conveniences that are hard to get by without in the real world. The 2.0 not only delivers a lot of such conveniences, but also further generalizes the data structures (everything is sequences now) and adds better integration with other XML standards. Overall, it's an exciting new level of XSLT that I highly recommend.
 
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Dmitry Kirsanov:
Re: XSLT in general: The simplest answer is that XSLT is a language with a limited purpose (manipulating XML data) but very high abstraction level. This means that many constructs that are quite laconic in XSLT would be wordy and cumbersome in other languages. In fact, once you learn XSLT, any kind of XML processing in other languages will look wordy and cumbersome to you

Re: XSLT 1.0 vs 2.0: The 1.0 was pretty much a proof-of-concept language. It was conceptually sound but lacked many conveniences that are hard to get by without in the real world. The 2.0 not only delivers a lot of such conveniences, but also further generalizes the data structures (everything is sequences now) and adds better integration with other XML standards. Overall, it's an exciting new level of XSLT that I highly recommend.



thanks for the thoughful reply.
 
Gian Franco
blacksmith
Posts: 979
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much!
reply
    Bookmark Topic Watch Topic
  • New Topic