Companion site for

XML: Looking at the Forest Instead of the Trees

[HTML] [PDF 5M] [XML Links]

Beware: XML {.xml, .dtd, .xsd, .xsl} files are often interpreted by browsers. This is why this site often has two links for each XML file:

Figures Examples
Chapter 1
1.3 XMLFlow.pdf
Chapter 3
3.1 CellarBookXSDView.jpg
3.2 WineCatalogXSDView.jpg
Chapter 4
4.1 XPath-Axes.pdf
Chapter 5
5.1 WineCatalog.jpg
5.2 CellarBook.jpg
5.3 compactHTML.jpg
5.4 compactFO-all.pdf
5.5 compactFO.jpg
Chapter 8
8.1 JTree.jpg
Appendix C
C.1 FITTdocumentFlow.pdf
Chapter 2
2.2 CellarBook.xml xml
2.3 WineCatalog.xml xml
Chapter 3
3.1 CellarBook.dtd
3.2 WineCatalog.dtd
3.3 CellarBook.xsd xsd
3.4 WineCatalog.xsd xsd
3.6 CellarBook.rnc
3.7 WineCatalog.rnc
3.8 CellarBook.sch sch
Chapter 5
5.1 WineCatalog.html
5.2 WineCatalog.xsl xsl
5.3 CellarBook.html
5.4 CellarBook.xsl xsl
5.5 built-in-template-rules.xsl xsl
5.6 compactHTML.html
5.7 compactHTML.xsl xsl
5.8 CellarBook.txt
5.9 compact.xsl xsl
5.10 compactFO.xsl xsl
5.11 compact.css
Chapter 6
6.1 WineCatalog.xq xq
6.2 CellarBook.xq xq
6.3 compactHTML.xq xq
6.4 compact.xq xq
Chapter 7
7.1 CBWC-RDF-S.rdf rdf
7.2 CBWC-RDF-S.ttl
7.3 CBWC-RDF-S.rq
7.4 XML2RDF.xsl xsl
7.5 CellarBook.rdf rdf
7.6 CellarBook.ttl
7.7 CellarBook.rq
Chapter 8
8.1 DOMCompact.java
8.2 CompactErrorHandler.java
8.3 SAXCompact.java
8.4 CompactHandler.java
8.5 StAXCompact.java
8.6 TreeViewer.java
8.7 JTreeHandler.java
Chapter 9
9.1 CompactTokenizer.java
9.2 DOMExpand.java
9.3 SAXExpand.java
9.4 CompactReader.java
9.5 StAXExpand.java
Chapter 10
10.1 DOMCompact.rb
10.2 SAXCompact.rb
10.3 CompactHandler.rb
10.4 CompactTokenizer.rb
10.5 DOMExpand.rb
10.6 DOMCompact.py
10.7 SAXCompact.py
10.8 CompactHandler.py
10.9 XMLStreamReader.py
10.10 StAXCompact.py
10.11 CompactTokenizer.py
10.12 DOMExpand.py
10.13 ETCompact.py
10.14 ETExpand.py
10.15 DOMCompact.php php
10.16 compactHTML.php php
10.17 SAXCompact.php php
10.18 CompactHandler.php php
10.19 StAXCompact.php php
10.20 CompactTokenizer.php php
10.21 DOMExpand.php php
10.22 XSLcompact.php php
10.23 SimpleXMLXPath.php php
10.24 SimpleXMLCompact.php php
10.25 SimpleXMLExpand.php php
10.26 DOMCompact.as
10.27 CompactTokenizer.as
10.28 DOMExpand.as
10.29 WineList.xml xml
10.30 WineList.json
10.31 xml2json.xsl xsl
10.32 WineList.yaml
Appendix C
C.1 DBTemplates.xml xml

Stylesheets and programs not described in the document

Scripts for validation, copying and transformation

DTD
XSD
Copying copy.xsl [xml] useful to get the final content of a file after entities and file inclusions
XPath ExpressionXPath.java applying XSLT transformation [ExpressionXPath.class]. Called with

java ExpressionXPath 'XPath-expression'

that applies the XPath-expression on stdin (an XML file) and output the result of the evaluation to stdout. When called from a Unix shell, it is usually necessary to put the XPath expression within quotes to prevent the interpretation of some special characters by the shell before the XPath interpreter.
Transformation Transform.java applying XSLT transformation [Transform.class]. Called with

java TransForm file.xsl

that transforms stdin (usually an XML file) to stdout applying the XSL transformation described in file.xsl

Transformation also possible directly from the command line, see section Associating an Instance File to a Stylesheet of the document.

Useful files and links not described in the document

Guy Lapalme
Dernière modification: Wednesday, 25-Nov-2015 21:21:57 EST