Preface |
|
xi | |
Notation |
|
xv | |
|
1 Text and data formatting |
|
|
1 | (38) |
|
1.1 Text formatting with latex and html |
|
|
2 | (5) |
|
|
2 | (2) |
|
|
4 | (2) |
|
1.1.3 Latex compared to html |
|
|
6 | (1) |
|
|
7 | (7) |
|
1.3 Usage and usefulness of xml files |
|
|
14 | (3) |
|
|
14 | (2) |
|
1.3.2 Computer code formatting |
|
|
16 | (1) |
|
1.4 Constraints on structure and form |
|
|
17 | (4) |
|
|
19 | (1) |
|
|
20 | (1) |
|
|
21 | (4) |
|
|
21 | (1) |
|
1.5.2 Machine processing with xsl |
|
|
22 | (3) |
|
1.6 Relevance of xml in scientific computing |
|
|
25 | (14) |
|
|
27 | (1) |
|
|
28 | (1) |
|
1.6.3 Data points on a graph as xml elements or C++ objects |
|
|
29 | (4) |
|
1.6.4 Perl associative arrays |
|
|
33 | (5) |
|
1.6.5 Computing environments |
|
|
38 | (1) |
|
|
38 | (1) |
|
|
39 | (32) |
|
|
39 | (2) |
|
|
41 | (4) |
|
|
41 | (1) |
|
2.2.2 Property listing and nesting |
|
|
42 | (2) |
|
2.2.3 Property and element tag names |
|
|
44 | (1) |
|
|
45 | (1) |
|
2.4 Xml document declaration |
|
|
46 | (2) |
|
|
48 | (1) |
|
2.6 Language processing instructions |
|
|
49 | (1) |
|
2.7 Character data (CDATA) |
|
|
50 | (2) |
|
|
52 | (1) |
|
|
53 | (3) |
|
2.10 Document type definition and schema |
|
|
56 | (8) |
|
2.10.1 Internal document type definition (dtd) |
|
|
56 | (4) |
|
2.10.2 External document type definition (dtd) |
|
|
60 | (3) |
|
2.10.3 Xml schema definition (xsd) |
|
|
63 | (1) |
|
|
64 | (1) |
|
|
64 | (3) |
|
2.12 Xml formatting of computer language instructions |
|
|
67 | (4) |
|
3 Xml data processing with xsl |
|
|
71 | (42) |
|
|
71 | (2) |
|
|
73 | (5) |
|
|
73 | (1) |
|
|
74 | (1) |
|
3.2.3 Processing with the xsltproc processor |
|
|
75 | (1) |
|
3.2.4 Processing with a web browser |
|
|
75 | (1) |
|
|
76 | (1) |
|
3.2.6 File name conventions |
|
|
77 | (1) |
|
3.2.7 Inverting namespaces |
|
|
77 | (1) |
|
|
78 | (3) |
|
3.4 Extracting data with value-of |
|
|
81 | (3) |
|
|
84 | (2) |
|
3.6 Extracting element attributes |
|
|
86 | (3) |
|
|
89 | (2) |
|
3.8 Choose, when, and otherwise |
|
|
91 | (1) |
|
3.9 Variables and parameters |
|
|
92 | (3) |
|
|
95 | (11) |
|
|
95 | (6) |
|
|
101 | (3) |
|
3.10.3 Matched and named templates |
|
|
104 | (2) |
|
|
106 | (1) |
|
3.12 Summary of xsl elements and functions |
|
|
107 | (4) |
|
|
110 | (1) |
|
3.13 Passive processing and cascading stylesheets (css) |
|
|
111 | (2) |
|
|
113 | (51) |
|
4.1 Elementary operations |
|
|
113 | (8) |
|
|
115 | (2) |
|
4.1.2 Internal mathematical functions |
|
|
117 | (2) |
|
4.1.3 Formatting numbers in the output |
|
|
119 | (1) |
|
4.1.4 Maximum and minimum |
|
|
120 | (1) |
|
4.1.5 Counting our blessings |
|
|
121 | (1) |
|
1.2 Templates are user-defined functions and subroutines |
|
|
121 | (10) |
|
4.2.1 Absolute value of a number |
|
|
122 | (1) |
|
4.2.2 Binary representation of a fractional number |
|
|
123 | (2) |
|
4.2.3 Binary representation of any number |
|
|
125 | (3) |
|
4.2.4 Hexadecimal representation of any number |
|
|
128 | (3) |
|
1.3 Further applications of Xslt templates |
|
|
131 | (9) |
|
4.3.1 Integral power of a number |
|
|
131 | (3) |
|
4.3.2 Highest integer with a given number of bits |
|
|
134 | (6) |
|
4.4 Square root of a number |
|
|
140 | (5) |
|
4.5 Exponential of a number |
|
|
145 | (3) |
|
4.6 Natural logarithm of a number |
|
|
148 | (3) |
|
|
151 | (2) |
|
4.8 Greatest common divisor of two integers |
|
|
153 | (4) |
|
|
157 | (7) |
|
5 Producing and importing xml data |
|
|
164 | (45) |
|
|
165 | (9) |
|
|
174 | (17) |
|
|
175 | (2) |
|
5.2.2 Roots of an equation |
|
|
177 | (4) |
|
5.2.3 Real, imaginary, and complex roots |
|
|
181 | (1) |
|
|
182 | (5) |
|
|
187 | (3) |
|
5.2.6 Converting perl structures to xml data |
|
|
190 | (1) |
|
|
191 | (4) |
|
|
195 | (14) |
|
5.4.1 Generating xml data |
|
|
195 | (3) |
|
5.4.2 Using java to generate xml output |
|
|
198 | (3) |
|
5.4.3 Importing an xml document as a java object |
|
|
201 | (1) |
|
5.4.4 Arranging xml data into Matlab structures |
|
|
202 | (4) |
|
5.4.5 Navigating through an xml tree |
|
|
206 | (1) |
|
5.4.6 Summary and toolboxes |
|
|
207 | (2) |
|
|
209 | (4) |
|
|
213 | (9) |
|
C Summary of xslt elements |
|
|
222 | (11) |
|
C.1 Stylesheet declaration, import, and inclusion |
|
|
222 | (1) |
|
|
223 | (1) |
|
|
224 | (2) |
|
C.4 Comments, messages, and text |
|
|
226 | (1) |
|
C.5 Xml element manipulation |
|
|
227 | (1) |
|
|
228 | (1) |
|
C.7 Variables and parameters |
|
|
229 | (1) |
|
|
230 | (2) |
|
|
232 | (1) |
|
D Functions called by xslt elements |
|
|
233 | |