XSL


XSL is a language used to create a style sheet used for sending data over the World Wide Web, using the Extensible Markup Language (XML).

It is formally called "Extensible Style Language" and its process consists of two main features: the first one is to construct a result tree from the XML source, and the second one is to interpret the result tree to produce formatted results suitable for a presentation.

XSL uses XPath and XSLT for pattern selection and tree construction. Through this, it provides a high degree of control over how portions of the source content are presented, and what properties are associated with those content portions, even where mixed namespaces are involved. Also, it provides a comprehensive model and a vocabulary for writing stylesheets using XML syntax.

Advantages

  • XSL simplifies the merging of XML data into a presentation
  • It's more convenient to traverse an XML document (by using XPath), rather than the traditional way (by using scripting language)
  • XSL is resilient to changes in documents because it's template based
  • It is very easy to change the output format without touching the code behind
  • XSL can be used as a validation language

Disadvantages

  • Performance suffers penalties because processing is memory intensive
  • Complicated business rules are difficult to implement
  • It requires recursions for changing the value of variables
  • If the developer works with numerous templates it may be very difficult to figure out which templates are applied
  • If small changes are not carefully made, they can have large repercussions, causing the execution to be very slow

Components

  • XSLT
  • XPath
  • FO

Development tools

  • XMLSpy
  • StyleVision
  • MapForce

Versions

  • XSL 1.0
  • XSL 2.0

 


Have a project in mind?

Get in touch with us for your XSL development needs!

 

 



Recent posts on our blog
New alternatives for mainstream server-side programming
Aug 30, 2018, by Cristian
We take a look at the advantages of 5 up and coming programming languages, namely Ruby, Node.js, Go, Scala, and Rust.... read more
Nginx - top contender in the web server game
May 17, 2018, by Dragos
Nginx is a well-known open-source web server that has undergone a rapid growth in popularity. Even at this point it looks like the growth is sustainable, so this software will keep on catching up with both Apache and IIS. Additionally, more and more web applications (websites), especially those with a high traffic, are switching to Nginx.... read more
Top 5 Best Visual Studio Extensions
Mar 28, 2018, by Cristian
One of the strengths of Visual Studio is represented by the powerful customization options (both design and functionality). ... read more
Press  |  Site Map  |  Technologies  |  Terms of Use  |  Privacy Policy
© 2018 SBP Romania. All rights reserved.