Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL...

13
Introduction technology XSL

Transcript of Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL...

Page 1: Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.

Introduction technology XSL

Page 2: Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.

04/11/2005

Script of the presentation

• Introduction the XSL

• The XSL standard

• Tools for edition of codes XSL

• Necessary resources for edition of codes XSL

• Plan of training

• References

Page 3: Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.

04/11/2005

Introduction the XSL

• What is XSL?

• So that it serves XSL?

• The components of the XSL language

• Which the importance of XSL for formatting of archives XML?

• Comparison of the XSL with other style sheets

Page 4: Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.

04/11/2005

Introduction the XSL

• What is XSL?

XSL(XML Style Language) is a style sheet language applied in archives XML. It possesss a set of basic instructions destined to the visualization.

• So that it serves XSL?

It defines styles to applying to each element of document XML and also it can be carried through small typical instructions of the programming languages. As specific searches, conditional structures, to create new tags, variable and etc.

Page 5: Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.

04/11/2005

Introduction the XSL

• The components of the XSL language

The full XSL language logically consists of three component languages which are described in three W3C (World Wide Web Consortium) Recommendations:

• XPath: XML Path Language--a language for referencing specific parts of an XML document

• XSLT: XSL Transformations--a language for describing how to transform one XML document (represented as a tree) into another

• XSL: Extensible Stylesheet Language--XSLT plus a description of a set of Formatting Objects and Formatting Properties

Page 6: Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.

04/11/2005

Introduction the XSL

• Which the importance of XSL for formatting of archives XML?

One of its main advantages is if we will have a document XML that to want that it is visualized in multiple distinct devices will be essential to use XSL.

In this project we would have one alone document XML and a document XSL for each device that to want to include.

• Comparison of the XSL with other style sheets

We have two possible languages with which to format the texts of a document XML to be able to be seen by screen. The first possibility is the CSS and second it is the XSL.

XSL is much more powerful that CSS and of fact is adjusted does not use it.

Page 7: Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.

04/11/2005

The XSL standard

• The XML standard specifies how to identify data, not how to display it

• The XSL standard has two parts:

XSLT (the transformation standard)

XSL-FO (the part that covers formatting objects)

Page 8: Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.

04/11/2005

The XSL standard

• XSLT (+XPATH) - Extensible Stylesheet Language for Transformations

The XSLT transformation standard is essentially a translation mechanism that lets you specify what to convert an XML tag into so that it can be displayed -- for example, in HTML.

Different XSL formats can then be used to display the same data in different ways

The XPATH is an addressing mechanism that you use when constructing transformation instructions, in order to specify the parts of the XML structure you want to transform.

Page 9: Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.

04/11/2005

The XSL standard

• XSL-FO (language of object formatting)

XSL-FO gives you the ability to define multiple areas on a page and then link them together.

When a text stream is directed at the collection, it fills the first area and then "flows" into the second when the first area is filled. Such objects are used by newsletters, catalogs, and periodical publications.

Page 10: Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.

04/11/2005

Tools for edition of codes XSL

• Free XSL 1.0/2.0 Editor Download: http://www.stylusstudio.com/xslt_editor.html Easy to use: Edit / Debug / Map / Transform XSL

• Oxygen XML editor Download: http://www.oxygenxml.com Version: Professional / Academic

• Any editor of texts For example: Context

Page 11: Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.

04/11/2005

Necessary resources for edition of codes XSL

Page 12: Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.

04/11/2005

Plan of training

• Introduction the XSL • XSL elements• Conditional structures• Loops• XSL sort• Filter of search • Any basics functions• Transformation with XSL• Using CSS whith XSL• How to use XSL archive

Page 13: Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.

04/11/2005

References

• http://www.xmlbr.com.br

• http://www.guj.com.br/java.tutorial.artigo.31.1.guj Of the 31.1.gui to the 31.4.gui

• http://www.w3schools.com/xsl/

• http://www.arbortext.com/xsl/tutorial/frames.html

• http://www.bibliosoft.pt/projectoxml/

• http://www.dpawson.co.uk/xsl/sect2/sect21.html

• http://www.xmlfiles.com/xsl/xsl_intro.asp