Presentation is loading. Please wait.

Presentation is loading. Please wait.

Dom and XSLT Dom – document object model DOM – collection of nodes in a tree.

Similar presentations


Presentation on theme: "Dom and XSLT Dom – document object model DOM – collection of nodes in a tree."— Presentation transcript:

1 Dom and XSLT Dom – document object model DOM – collection of nodes in a tree

2 JAXP – Java API for xml processing

3 Brief Primer on XML

4 What is XSLT?

5 How Does XSLT Relate to XML? XSLT is well formed XML. –Only need to learn new syntax to learn XSLT (if you know XML) Transforms XML documents –From one DTD to another DTD – document type definition –To learn how to write DTD’s you had to learn new structures. Uses XPath to match patterns in XML

6 History of XSLT XSLT is part of XSL specification Expanded into separate specification Relies on XPath for some of its functionality

7 Why Use XSLT? W3C Standard Open Source Can add functionality to program without recompiling Rapid development & ease of code reuse XSLT is XML

8 Alternatives to XSLT XML Libraries such as SAX used in conjunction with general purpose programming language such as Java Custom programming solution Tighter integration with business partners, e.g., work with common DTD / Schema

9 Example XSLT Stylesheet Sam Adams ale 6.99 Input File Output File Sam Adams ale XSLT File

10 Demonstration


Download ppt "Dom and XSLT Dom – document object model DOM – collection of nodes in a tree."

Similar presentations


Ads by Google