FIT2043 Lecture Notes - Lecture 10: Xslt, Msxml, Xpath
![](https://new-preview-html.oneclass.com/VAvoDaZP3Kwgjn3B8MvzNEl2py4rzJ75/bg1.png)
L10 - Intro to XSLT
What is XSLT?
●Declarative language written in XML
○ You tell the computer what you want to do, and the computer what to achieve
○ You specify actions that you want taken when certain patterns are detected
● Used for transforming XML files into other formats (HTML for viewing in a browser)
How to get XSLT to work
● Command line utilities (samon, msxml)
● Built into test editor
Namespaces
Tells you what items are related e.g a class of objects. This is important for differentiating
same-name elements in different xml documents. E.g. Table as (2x2 matrix of things), or a
Table as (4 legged table that you sit at)
XPATH
● A way of specifying locations within an XML doc
● Document root is called /
● A set containing all such elements
find more resources at oneclass.com
find more resources at oneclass.com
Document Summary
You tell the computer what you want to do , and the computer what to achieve. You specify actions that you want taken when certain patterns are detected. Used for transforming xml files into other formats (html for viewing in a browser) Tells you what items are related e. g a class of objects. This is important for differentiating same-name elements in different xml documents. Table as (2x2 matrix of things), or a. Table as (4 legged table that you sit at) A way of specifying locations within an xml doc.