7. With XSLT - link Now the XML document is linked to an external xslt document Browser is used as an XSLT processor. (client-side)
8.
9.
10.
11.
12. Example: XSL-FO and Processor XS Processor The possible output formats depends of the features of the XS processor. For example, Apache FOP supports only PDF
13.
14. Main Idea of XSLT: XML -> XHTML XSLT Processor The XSLT Processor can be client-side (browser) or server-side (php, java..)
15. Main Idea of XSLT: XML -> FO XSLT Processor Now the books.xml is transformed into XSL FO language...
16. Example: XSL-FO and Processor XS Processor And if you have an fo-document, you can transform it to pdf (for example)
22. Relationships with the Languages Extensible Stylesheet Language XSL Transformations XSL Formatting Objects XML Path Language uses
23.
24.
25. Selecting Nodes (W3schools) Expression Description nodename Selects all child nodes of the named node / Selects from the root node // Selects nodes in the document from the current node that match the selection no matter where they are . Selects the current node .. Selects the parent of the current node @ Selects attributes
26. Examples (W3schools) Expression Description /bookstore Selects the root element bookstore bookstore/book Selects all book elements that are children of bookstore //book Selects all book elements no matter where they are in the document bookstore//book Selects all book elements that are descendant of the bookstore element, no matter where they are under the bookstore element //@lang Selects all attributes that are named lang