XML, XSLT. Discussion on Markup Languages, Trends.

Slides:



Advertisements
Similar presentations
XML-XSL Introduction SHIJU RAJAN SHIJU RAJAN Outline Brief Overview Brief Overview What is XML? What is XML? Well Formed XML Well Formed XML Tag Name.
Advertisements

What is XML? a meta language that allows you to create and format your own document markups a method for putting structured data into a text file; these.
XML: Extensible Markup Language
XML: text format Dr Andy Evans. Text-based data formats As data space has become cheaper, people have moved away from binary data formats. Text easier.
SPECIAL TOPIC XML. Introducing XML XML (eXtensible Markup Language) ◦A language used to create structured documents XML vs HTML ◦XML is designed to transport.
XML Document Type Definitions ( DTD ). 1.Introduction to DTD An XML document may have an optional DTD, which defines the document’s grammar. Since the.
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
Introduction to XLink Transparency No. 1 XML Information Set W3C Recommendation 24 October 2001 (1stEdition) 4 February 2004 (2ndEdition) Cheng-Chia Chen.
Chapter 10 © 2001 by Addison Wesley Longman, Inc. 1 Chapter 10 Sebesta: Programming the World Wide Web.
1 XML and QUERY Shilpi Ahuja CSE Data Mining 4 th April 2002.
Tutorial 11 Creating XML Document
Document Type Definitions. XML and DTDs A DTD (Document Type Definition) describes the structure of one or more XML documents. Specifically, a DTD describes:
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Fundamentals of Web DevelopmentRandy Connolly and Ricardo HoarFundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Fundamentals of Web DevelopmentRandy.
Introduction to XML This material is based heavily on the tutorial by the same name at
ECA 228 Internet/Intranet Design I Intro to XML. ECA 228 Internet/Intranet Design I HTML markup language very loose standards browsers adjust for non-standard.
XP New Perspectives on XML Tutorial 3 1 DTD Tutorial – Carey ISBN
Validating DOCUMENTS with DTDs
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
XML eXtensible Markup Language by Darrell Payne. Experience Logicon / Sterling Federal C, C++, JavaScript/Jscript, Shell Script, Perl XML Training XML.
XML CPSC 315 – Programming Studio Fall 2008 Project 3, Lecture 1.
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
Document Type Definitions Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
XML What is XML? XML v.s. HTML XML Components Well-formed and Valid Document Type Definition (DTD) Extensible Style Language (XSL) SAX and DOM.
CISC 3140 (CIS 20.2) Design & Implementation of Software Application II Instructor : M. Meyer Address: Course Page:
E0262 – MIS – Multimedia Storage Techniques XML (Extensible Markup Language)  XML is a markup language for creating documents containing structured information.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
XML 1 Enterprise Applications CE00465-M XML. 2 Enterprise Applications CE00465-M XML Overview Extensible Mark-up Language (XML) is a meta-language that.
XML Syntax - Writing XML and Designing DTD's
What is XML?  XML stands for EXtensible Markup Language  XML is a markup language much like HTML  XML was designed to carry data, not to display data.
Processing of structured documents Spring 2002, Part 2 Helena Ahonen-Myka.
1 Tutorial 13 Validating Documents with DTDs Working with Document Type Definitions.
Lecture 6 XML DTD Content of.xml fileContent of.dtd file.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
1 Chapter 10: XML What is XML What is XML Basic Components of XML Basic Components of XML XPath XPath XQuery XQuery.
E0262 – MIS – Multimedia Storage Techniques XML (Extensible Markup Language  XML is a markup language for creating documents containing structured information.
XML 2nd EDITION Tutorial 1 Creating An Xml Document.
CP3024 Lecture 9 XML: Extensible Markup Language.
XML Extensible Markup Language Aleksandar Bogdanovski Programing Enviroment LABoratory
Waqas Anwar Next SlidePrevious Slide. Waqas Anwar Next SlidePrevious Slide XML XML stands for EXtensible Markup Language.
XML Documents Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University Elements Attributes Comments PI Document.
Introduction to XML This presentation covers introductory features of XML. What XML is and what it is not? What does it do? Put different related technologies.
XML Instructor: Charles Moen CSCI/CINF XML  Extensible Markup Language  A set of rules that allow you to create your own markup language  Designed.
XP 1 Creating an XML Document Developing an XML Document for the Jazz Warehouse XML Tutorial.
Lecture 16 Introduction to XML Boriana Koleva Room: C54
An Introduction to XML Sandeep Bhattaram
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Understanding How XML Works Ellen Pearlman Eileen Mullin Programming the.
XML Introduction. What is XML? XML stands for eXtensible Markup Language XML stands for eXtensible Markup Language XML is a markup language much like.
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
1 Tutorial 11 Creating an XML Document Developing a Document for a Cooking Web Site.
Tutorial 13 Validating Documents with Schemas
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
225 City Avenue, Suite 106 Bala Cynwyd, PA , phone , fax presents… XML Syntax v2.0.
XP New Perspectives on XML, 2 nd Edition Tutorial 7 1 TUTORIAL 7 CREATING A COMPUTATIONAL STYLESHEET.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
Games: XML Presented by: Idham bin Mat Desa Mohd Sharizal bin Hamzah Mohd Radzuan bin Mohd Shaari Shukor bin Nordin.
XML CORE CSC1310 Fall XML DOCUMENT XML document XML document is a convenient way for parsers to archive data. In other words, it is a way to describe.
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Introduction to XML Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
XML Introduction to XML Extensible Markup Language.
XML Schema – XSLT Week 8 Web site:
XML Notes taken from w3schools. What is XML? XML stands for EXtensible Markup Language. XML was designed to store and transport data. XML was designed.
Extensible Markup Language (XML) Pat Morin COMP 2405.
Unit 4 Representing Web Data: XML
XML QUESTIONS AND ANSWERS
Extensible Markup Language XML
Chapter 7 Representing Web Data: XML
Allyson Falkner Spokane County ISD
Presentation transcript:

XML, XSLT

Discussion on Markup Languages, Trends

What is XML ? XML is the Extensible Markup Language It is designed to enable the use of SGML on the World Wide Web. It defines ‘an extremely simple dialect of SGML XML is not a single, predefined markup language: it's a metalanguage -- a language for describing other languages XML lets you define your own customized markup languages XML is a markup language for structured documentation

What is XML for? To make it easy and straightforward to use SGML on the Web –easy to define document types –easy to author and manage SGML-defined documents –easy to transmit and share them across the Web It defines ‘an extremely simple dialect of SGML which is completely described in the XML Specification The goal is to enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML XML has been designed for ease of implementation, and for interoperability with both SGML and HTML

What is SGML? SGML is the Standard Generalized Markup Language (ISO 8879) It is the international standard for defining descriptions of the structure and content of different types of electronic document SGML is quite complex to implement and contains a lot of features that are very rarely used SGML parsers and browsers are complex and difficult to write

Extensibility Structure Validation Media independence Platform independence Meaningful markup Strict hierarchies ensure clean structures. Define your own schema to suit tags Why XML?

Structure modeling (DTD) UNICODE - multilingual support XML replaces ASCII CSV for data interchange XML provides the means for structured information exchange Why XML?

A bridge between SGML and HTML Simplified version of SGML –SGML too complex and heavy to use –Difficult to interpret an SGML document –A new standard which would take the best features of SGML, yet keep it SIMPLE HTML is to rigid. It has solved it’s purpose. XML is more extensible By defining your own markup language (DTD), you can encode the information of your documents much more precisely

Why XML? It removes two constraints which are holding back Web development –dependence on a single, inflexible document type (HTML) –the complexity of full SGML, whose syntax allows many powerful but hard-to-program options Authors and providers can design their own document types using XML, instead of being stuck with HTML Document types can be explicitly tailored to an audience, so the cumbersome fudging that has to take place with HTML to achieve special effects can become a thing of the past

Why XML? Information content can be richer and easier to use, because the hypertext linking abilities of XML are much greater than those of HTML XML can provide more and better facilities for browser presentation and performance, using CSS and XSL stylesheets Information will be more accessible and reusable, because the more flexible markup of XML can be used by any XML software instead of being restricted to specific manufacturers as has become the case with HTML

SGML, XML and HTML… SGML is the `mother tongue', used for describing thousands of different document types HTML is just one of these document types, the one most frequently used in the Web –It defines a simple, fixed type of document with markup designed for a common class of documents XML is an abbreviated version of SGML –Makes it easier for you to define your own document types –Omits the more complex and less-used parts of SGML

SGML, XML and HTML… XML itself does not replace HTML: instead, it provides an alternative which allows you to define your own set of markup elements HTML is expected to remain in common use for some time to come –Document Type Definitions for HTML are available in XML versions (XHTML)

HTML Presentation + Unstructured data It is an application of SGML Predefined tags Inability to nest components properly. One view XML Data structure divorced from presentation (more OO like) It is a subset of SGML, meta language User defined tags Ability to nest components using DTD. One document, multiple views HTML V/s XML

- Example A Resume HTML Representation RESUME Name Amit Rekhi Age 23yrs XML Representation Amit Rekhi 23yrs Male DTD XML

What happened to HTML? HTML is already overburdened with dozens of interesting but incompatible inventions from different manufacturers, because it provides only one way of describing your information. It is too rigid and fixed. No easy, generic and standard way to extend HTML It mixes structure with presentation It does not allows groups of people or organizations to create their own customized, standardized markup applications for exchanging information in their domain HTML has served it’s purpose of making the web popular. Now something better and more extensible is needed

What happened to HTML? HTML is broken. A few start tags do not have end tags. Can I make my existing HTML files work in XML? If so how?

Why XML and not Words or Notes? Public information cannot afford to be restricted to one make or model or manufacturer It is helpful for such information to be in a standard form that can be reused in many different ways, as this can minimize wasted time and effort Proprietary data formats, no matter how well documented or publicized, are simply not an option XML gives a standard interchange format for document interchange which is easily understood programmatically

Is XML same as C/C++/Java? XML is a markup language C/C++/Java are programming languages XML does not have programming constructs. –No if, for…..next etc. –No compiler ONLY a parser If no constructs, then how to represent logic? Do I need to do it? If so where is it done?

How to control presentation in XML? In XML, you can define your own tagset, consequently browsers cannot know anything about the names/elements you use so the use of a stylesheet is required XML deals only with structure. Style and presentation is taken care of seperately Concept of presentation is similar to Document View Architecture How should presentation be taken care of? Any reuse of XML here?

Can I use Java/C++/Scripts in XML? XML is ONLY about describing information Scripting languages and others enable embedded functionality which helps enables information to be manipulated at the user's end, are not used to represent structure No place for PLs in XML Do I need to represent PL logic in XML? How?

Can I use PLs to create XML files? Any programming language can be used to output data from any source in XML format XML is an interchange format. It is an input/output format. It only represents structure Implementations are available to manipulate XML Should you have APIs to access XML? What types? How would APIs relate to PLs?

How to execute XML files? You can't and you don't XML is not a programming language, so XML files don't ‘run’ or ‘execute’ XML files are data: You have to –Run a program which displays them (like a browser) –Write a program that does some work with them (like a converter which writes the data in another format) –Create a program that creates them

What does XML look like? Hello, world! Stop the planet,I want to get off!

What does XML look like? <!DOCTYPE titlepage SYSTEM " [ ]> <title font="Baskerville" size="24/30" alignment="centered">Hello, world!

XML - A Simple Example Structure Definition DTD - defines STRUCTURE of XML documents DTD - used for VALIDATION of XML documents

XML - Instance Data <!DOCTYPE order SYSTEMS “ A. B. Infosys Private Limited B-102, Gulmohar Park New Delhi India Pencil 12

Separation of (XSL) from Structure (XML-DTD) All XML based languages parsed using single browser Easy Development of 3-tier Web Applications. Data integration from disparate sources. XML data is self-describing Interchange format of a variety of applications Benefits of XML

Local computation and manipulation. Multiple views of data. XML based on Open Standards Benefits of XML

EXERCISE 1 XML

What do you see here? XML Lars Marius Garshol jun.97 What is XML? SGML light.

… And here? <!ATTLIST PART NO CDATA #IMPLIED TITLE CDATA #IMPLIED>

XML Document Well-formed *Obeys XML syntax Valid *Conforms to DTD

Concepts Document Type Definition (DTD) Validity Well-formedness

Concepts - DTD A Document Type Definition (DTD) is a file written in XML's declaration syntax It contains a formal description of the syntax, structure particular type of document –It sets out what names can be used for element types –It sets out where elements may occur –It also shows how all elements and other constructs fit together The concept of a DTD and XML is similar to a class and an object

DTD Sample A DTD fragment:... An XML instance:... Chocolate Music Surfing

Concepts - Validity Valid XML files are those which have a Document Type Definition (DTD) and adhere to it They must already be well-formed A valid file begins with a Document Type Declaration (DTD) An XML version of the specified DTD must be accessible to the XML processor. This can be specified by supplying the URL for the DTD in a System Identifier Sample XML file: –

Concepts - Well-formedness All tags must be balanced: that is, all elements which may contain character data must have both start- and end-tags present All attribute values must be in quotes Any EMPTY element tags must either end with ‘/>’ or you have to make them appear non-EMPTY by adding a real end-tag There must not be any isolated markup-start characters (< or &) in your text data. If present it should be escaped. Elements must nest inside each other properly

Sample well-formed XML file?......

Structure of an XML file Word Document

XML Structure: Elements Elements are the most common form of markup Delimited by angle brackets (start tags, end tags), most elements identify the nature of the content they surround. Some elements may be empty in which case they have no content and are shown as If an element is not empty, it begins with a start-tag,, and ends with an end-tag, Element Sample – Sample Content

XML Structure: Attributes Attributes are name-value pairs that occur inside tags after the element name All attribute values must be quoted Attribute Sample – Sample Content

XML Structure: Entity References An entity reference refers to the content of a named entity They are used to insert reserved markup characters (<, &, “) characters into your document as content Entities are also used to refer to often repeated or varying text and to include the content of external files In order to use an entity, you simply reference it by name References to parsed general entities use ampersand (&) and semicolon (;) as delimiters. Parameter-entity references use percent-sign (%) and semicolon (;) as delimiters

XML Structure: Char. References Entity References Sample –& and %pe1; Is a special form of entity reference Can be used to insert arbitrary Unicode characters into your document This is a mechanism for inserting characters that cannot be directly typed Character references take one of two forms: –decimal references eg. ℞ –hexadecimal references eg. ℞

XML Structure:Comments Comments begin with “ ” They can contain any data except the literal string “- -” You can place comments between markup anywhere in your document They are not part of the textual content of an XML document XML Comment Sample –

XML Struc.:Processing Instructions Processing instructions (PIs) are an escape hatch to provide information to an application They are not textually part of the XML document They have the form: –The name, called the PI target, identifies the PI to the application The names used in PIs may be declared as notations in order to formally identify them Any data that follows the PI target is optional, it is for the application that recognizes the target XML PI Sample –

XML Structure.:CDATA Sections CDATA sections may occur anywhere character data may occur They are used to escape blocks of text containing characters which would otherwise be recognized as markup They begin with the string " ” The only string that cannot occur in a CDATA section is “]]>” Sample XML CDATA Section: –

XML Structure Document Type Declarations

XML Structure:Doc.Type Decl. For any XML document to have meaning there must be some constraint on the sequence and nesting of tags Declarations are where these constraints can be expressed Declarations allow a document to communicate meta-information to the parser about its content Meta-information includes –Allowed sequence and nesting of tags –Attribute values and their types and defaults –the names of external files that may be referenced and whether or not they contain XML –the formats of some external (non-XML) data, and entities

XML Structure:Doc.Type Decl. There are four kinds of declarations in XML : –element declarations –attribute list declarations –entity declarations –notation declarations

XML Structure:Element Decl. The element structure of an XML document may, for validation purposes, be constrained using element type and attribute-list declarations. Element type declarations often constrain which element types can appear as children of the element Element declarations identify the names of elements and the nature of their content (content model) In addition to element names, the special symbol #PCDATA is reserved to indicate character data Elements with both element content and PCDATA content are said to have “mixed content”

XML Structure:Element Decl. Three other content models are possible: –EMPTY indicates that the element has no content (and consequently no end-tag) –ANY indicates that any content is allowed –ELEMENT content indicates only elements within an element. Significance of *, +, ?, |,, XML Element Decl. Sample

XML Structure:Attribute Decl. Attribute declarations identify –Which elements may have attributes –What attributes they may have –What values the attributes may hold –What default value each attribute has Each attribute in a declaration has three parts: a name, a type, and a default value There are six possible types: –CDATA: CDATA attributes are strings, any text is allowed

XML Structure:Attribute Decl. –ID: The value of an ID attribute must be a name. All of the ID values used in a document must be different IDs uniquely identify individual elements in a document Elements can have only a single ID attribute –IDREF/IDREFS:An IDREF attribute's value must be the value of a single ID attribute on some element in the document The value of an IDREFS attribute may contain multiple IDREF values separated by white space. –

XML Structure:Attribute Decl. –ENTITY or ENTITIES: An ENTITY attribute's value must be the name of a single entity. The value of an ENTITIES attribute may contain multiple ENTITY values separated by white space –NMTOKEN or NMTOKENS: Name token attributes are a restricted form of string attribute The value of an NMTOKENS attribute may contain multiple NMTOKEN values separated by white space. –A list of names: The value of an attribute must be taken from a specific list of names This is frequently called an enumerated type

XML Structure:Attribute Decl. There are four possible default values: –#REQUIRED: The attribute must have an explicitly specified value on every occurrence of the element in the document –#IMPLIED: The attribute value is not required, and no default value is provided If a value is not specified, the XML processor must proceed without one. –"value”: An attribute can be given any legal value as a default The attribute value is not required on each element, but if it is not present, it will appear to be the default. –

XML Structure:Attribute Decl. –#FIXED "value”: An attribute declaration may specify that an attribute has a fixed value The attribute is not required, but if it occurs, it must have the specified value One use for fixed attributes is to associate semantics with an element XML Attribute Declaration sample: –

XML Structure:Entity Decl. Entity declarations allow you to associate a name with some other fragment of the document. The other fragment could be: –A chunk of regular text –A chunk of the document type declaration –A reference to an external file containing either text or binary data There are three kinds of entities: –Internal Entities: The replacement text is stored in the declaration Internal entities allow to define shortcuts for frequent text or text that is expected to change –

XML Structure:Entity Decl. The XML specification predefines five internal entities: –< produces the left angle bracket, < –> produces the right angle bracket, > –& produces the ampersand, & –&apos; produces a single quote character (an apostrophe), ' –" produces a double quote character, " Internal Entity Declaration Sample: –

XML Structure:Entity Decl. –External Entities: External entities allow an XML document to refer to an external file External entities contain either text or binary data If they contain text, the content of the external file is inserted at the point of reference and parsed as part of the referring document (Parsed) Binary data is not parsed and may only be referenced in an attribute (Unparsed) –External Entity Declaration Sample: –

XML Structure:Entity Decl. –Parameter Entities: Parameter entities can only occur in the document type declaration A parameter entity is identified by placing “% ” (percent-space) in front of its name in the declaration Parameter entity references are immediately expanded in the document type declaration and their replacement text is part of the declaration –Parameter Entity Declaration Sample: –

XML Structure:Notation Decl. Notation declarations identify specific types of external binary data –This information is passed to the processing application, which may make whatever use of it it wishes –Notation Declaration Sample: –

EXERCISE 2 DTD

XSLT - Introduction Has evolved from the early Extensible Stylesheet Language (XSL) standard An XSLT style sheet is an XML document Specifies a language definition for –XML data presentation (XSL-FO): Future uncertain! –XML data transformations (XSLT) XSLT is a programming language for transforming XML documents

XSLT - Introduction Adopts the XPath language syntax for expressions Supports a small, flexible data types: –Boolean, number, string, node-set Supports a full set of operations: –,,, Supports programming flow-control: –,,

XSLT – Hello World! An XSLT Programmer Hello, World!

XSLT - Introduction <xsl:stylesheet xmlns:xsl= version="1.0"> from

XSLT – Introduction XSLT is rule-based and declarative Rules are called template rules –A template rule is an instruction to transform a specified source element in a particular way XSLT processors: –Put XML document and XSLT style sheets together as data and code –Invoke template rules to produce the desired output

XSLT – Behind the Scenes XSLT processors: –Put XML, XSLT together as data, code –Invoke template rules to produce the desired output XSLT Processing Steps: –Reading XML, associated XSLT style sheets –Parsing XML files, associated XSLT files, into trees of nodes

XSLT – Behind the Scenes XSLT Processing Steps: –Applying XSLT transformation to the source trees –Producing result trees according to XSLT specification –Serializing the result trees as output files Formats such as: XML, HTML, Text

XSLT – Behind the Scenes The XSLT processor does not work on raw XML data Raw XML data is first parsed into an XML DOM object (tree of nodes) Tree representation allows building expressions in the XPath language A template rule is invoked when the specified element, as expressed in an XPath pattern, is matched

XSLT – Linking to XML Embed an XSLT style sheet inside the source XML document Explicitly call: –transformNode()/ transformNodeToObject() method on the source XML DOM

XSLT – Linking to XML Embed an XSLT style sheet inside the source XML document Explicitly call: –transformNode()/ transformNodeToObject() method on the source XML DOM

XSLT: Behind the Scenes

XSLT Components XML Declaration –An XSLT file is an XML file –An XML declaration could be used: XSLT Stylesheet Declaration –The style sheet declaration is <xsl:stylesheet version="1.0“ xmlns:xsl="

XSLT Components Name Space Declaration Prefix –The following name space declaration is required: xmlns:xsl=" –Additional namespace prefixes can also be added xmlns:msxsl="urn:schemas-microsoft-com:xslt" –Default namespace has no prefix, usually used for literal result elements

XSLT Components Output Method Declaration – used by the processor to determine how to serialize the result tree –Must be a child of the element

XSLT Components XSLT Variables –Identify generically named objects, from which a value can be retrieved as needed –Can be used as a cache for a value –Provide mechanism for Setting a value Referring to result tree fragment variable_val

XSLT Components XSLT Parameters –Used to pass data –Local parameters pass data from one template rule to another –Global parameters pass a value into a style sheet from outside

XSLT Components External Document References –document() XSLT function allows you to incorporate another XML file – element imports another style sheet into the current style sheet – element includes another style sheet into the current style sheet

XSLT Components Match Rules –Consists of two components Match pattern Template itself –Match Pattern consists of Match Attribute XML Path Language (XPath) expression [template]

XSLT Components Match Rules –When template finds match in the source tree that matches match pattern, it places content in the result tree –template rule instantiates the template for each match

XSLT Components Literal Result Elements –Templates can contain 2 kinds of elements: Elements in the XSLT namespace, such as Elements not in the XSLT namespace, such as, –Such elements are treated as literal result elements –Such elements are copied to the output with minimal processing –HTML elements in the XSLT file must be closed

XSLT Components Comments –Comments in XSLT work the same as comments in XML XPath Expressions –XPath expression selects a node or nodes that match specified pattern –Expression is run against node tree representation of XML document

XSLT Components Namespace Prefixes –Commonly used namespace prefixes in an XSLT style sheet are as follows: <xsl:stylesheet version="1.0" xmlns="urn:schemas-mycompany-com:xslt“ xmlns:xsl= xmlns:msxsl="urn:schemas-microsoft-com:xslt“ xmlns:fo="