XSLT And Its Uses

18 views
Skip to first unread message

mike myers

unread,
Jan 25, 2015, 8:14:39 AM1/25/15
to xs...@googlegroups.com
So exactly why may you employ XSLT? The easy answer is to enter xml and then to have the capacity to output as any format you like, html, pdf or any other output to suit your needs. Most often xslt is commonly employed to style websites and to determine the style and appearance of website pages by altering xml perfectly into a data format that could be translated and then viewed by an internet browser.

So just how could xml accomplish this?, actually xml in itself is basically plain text, which on its own, is usually not much use, think xml as the suitcase which carries the data, its advantage is consequently that xml is a carrier of the data and also that it is standard to the amount in which it can operate using any system or application, it is actually not system conditional.

This wasn’t an instant progression but much more a slow-moving development that started with the development of xml (a straight forward markup language with no semantic demands), along with the arrival of xsl (a stylesheet prepared in xml, supposed to specify tags and also apply styling to webpages) that finally lead to the use of xslt as means of using xml to direct web browsers on how to translate, style and display websites.

Paradoxically it had been the flexibilities of xml that was in the beginning its weakness, due to the fact the xml tags could easily represent just about anything you preferred, there had been simply no limitations, such as you could have a tag called, <house> or <dog>, it was challenging for your web browser to understand the precise intent or even meaning.

Nonetheless, as a result of the use of xsl, it had become practical to define the tags precisely so that the web browser fully understood and was able to implement the correct styles.

This worked well up to a level, as the web browser industry widened with the entry of Firefox , Apple and others, and xml files became more complex and larger, troubles of interoperability soon enough emerged, for instance it was commonplace for web pages to be viewable differently dependant on your browser.

http://www.liquid-technologies.com/Tutorials.aspx

Reply all
Reply to author
Forward
0 new messages