This repository was archived by the owner on May 11, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +251
-13
lines changed Expand file tree Collapse file tree 4 files changed +251
-13
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" iso-8859-1" ?>
2
+ <HTML xmlns : pp =" http://www.isogen.com/paul/post-processor" >
3
+ <TITLE >Introduction to XSL</TITLE >
4
+ <H1 >Introduction to XSL</H1 >
5
+
6
+
7
+
8
+ <HR />
9
+ <H2 >Overview
10
+ </H2 >
11
+ <UL >
12
+
13
+ <LI >1.Intro</LI >
14
+
15
+ <LI >2.History</LI >
16
+
17
+ <LI >3.XSL Basics</LI >
18
+
19
+ <LI >Lunch</LI >
20
+
21
+ <LI >4.An XML Data Model</LI >
22
+
23
+ <LI >5.XSL Patterns</LI >
24
+
25
+ <LI >6.XSL Templates</LI >
26
+
27
+ <LI >7.XSL Formatting Model
28
+ </LI >
29
+
30
+ </UL >
31
+
32
+
33
+
34
+
35
+
36
+
37
+ <HR />
38
+ <H2 >Intro</H2 >
39
+ <UL >
40
+
41
+ <LI >Who am I?</LI >
42
+
43
+ <LI >Who are you?</LI >
44
+
45
+ <LI >Why are we here?
46
+ </LI >
47
+
48
+ </UL >
49
+
50
+
51
+
52
+
53
+
54
+
55
+ <HR />
56
+ <H2 >History: XML and SGML</H2 >
57
+ <UL >
58
+
59
+ <LI >XML is a subset of SGML.</LI >
60
+
61
+ <LI >SGML allows the separation of abstract content from formatting.</LI >
62
+
63
+ <LI >Also one of XML's primary virtues (in the doc publishing domain).
64
+ </LI >
65
+
66
+ </UL >
67
+
68
+
69
+
70
+
71
+
72
+
73
+ <HR />
74
+ <H2 >History: What are stylesheets?</H2 >
75
+ <UL >
76
+
77
+ <LI >Stylesheets specify the formatting of SGML/XML documents.</LI >
78
+
79
+ <LI >Stylesheets put the " style" back into documents.</LI >
80
+
81
+ <LI >New York Times content+NYT Stylesheet = NYT paper
82
+ </LI >
83
+
84
+ </UL >
85
+
86
+
87
+
88
+
89
+
90
+
91
+ <HR />
92
+ <H2 >History: FOSI</H2 >
93
+ <UL >
94
+
95
+ <LI >FOSI: " Formatted Output Specification Instance"
96
+ <UL >
97
+ <LI >MIL-STD-28001
98
+ </LI >
99
+
100
+ <LI >FOSI's are SGML documents
101
+ </LI >
102
+
103
+ <LI >A stylesheet for another document
104
+ </LI >
105
+ </UL ></LI >
106
+
107
+ <LI >Obsolete but implemented...
108
+ </LI >
109
+
110
+ </UL >
111
+
112
+
113
+ µ
114
+
115
+ </HTML >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" iso-8859-1" ?>
2
+ <HTML xmlns : pp =" http://www.isogen.com/paul/post-processor" >
3
+ <TITLE >Introduction to XSL</TITLE >
4
+ <H1 >Introduction to XSL</H1 >
5
+
6
+
7
+
8
+ <HR ></HR >
9
+ <H2 >Overview
10
+ </H2 >
11
+ <UL >
12
+
13
+ <LI >1.Intro</LI >
14
+
15
+ <LI >2.History</LI >
16
+
17
+ <LI >3.XSL Basics</LI >
18
+
19
+ <LI >Lunch</LI >
20
+
21
+ <LI >4.An XML Data Model</LI >
22
+
23
+ <LI >5.XSL Patterns</LI >
24
+
25
+ <LI >6.XSL Templates</LI >
26
+
27
+ <LI >7.XSL Formatting Model
28
+ </LI >
29
+
30
+ </UL >
31
+
32
+
33
+
34
+
35
+
36
+
37
+ <HR ></HR >
38
+ <H2 >Intro</H2 >
39
+ <UL >
40
+
41
+ <LI >Who am I?</LI >
42
+
43
+ <LI >Who are you?</LI >
44
+
45
+ <LI >Why are we here?
46
+ </LI >
47
+
48
+ </UL >
49
+
50
+
51
+
52
+
53
+
54
+
55
+ <HR ></HR >
56
+ <H2 >History: XML and SGML</H2 >
57
+ <UL >
58
+
59
+ <LI >XML is a subset of SGML.</LI >
60
+
61
+ <LI >SGML allows the separation of abstract content from formatting.</LI >
62
+
63
+ <LI >Also one of XML's primary virtues (in the doc publishing domain).
64
+ </LI >
65
+
66
+ </UL >
67
+
68
+
69
+
70
+
71
+
72
+
73
+ <HR ></HR >
74
+ <H2 >History: What are stylesheets?</H2 >
75
+ <UL >
76
+
77
+ <LI >Stylesheets specify the formatting of SGML/XML documents.</LI >
78
+
79
+ <LI >Stylesheets put the "style" back into documents.</LI >
80
+
81
+ <LI >New York Times content+NYT Stylesheet = NYT paper
82
+ </LI >
83
+
84
+ </UL >
85
+
86
+
87
+
88
+
89
+
90
+
91
+ <HR ></HR >
92
+ <H2 >History: FOSI</H2 >
93
+ <UL >
94
+
95
+ <LI >FOSI: "Formatted Output Specification Instance"
96
+ <UL >
97
+ <LI >MIL-STD-28001
98
+ </LI >
99
+
100
+ <LI >FOSI's are SGML documents
101
+ </LI >
102
+
103
+ <LI >A stylesheet for another document
104
+ </LI >
105
+ </UL ></LI >
106
+
107
+ <LI >Obsolete but implemented...
108
+ </LI >
109
+
110
+ </UL >
111
+
112
+
113
+ µ
114
+
115
+ </HTML >
Original file line number Diff line number Diff line change
1
+ # Convenience test module to run all of the XML-related tests in the
2
+ # standard library.
3
+
4
+ import sys
5
+ import test .support
6
+
7
+ test .support .verbose = 0
8
+
9
+ def runtest (name ):
10
+ __import__ (name )
11
+ module = sys .modules [name ]
12
+ if hasattr (module , "test_main" ):
13
+ module .test_main ()
14
+
15
+ runtest ("test.test_minidom" )
16
+ runtest ("test.test_pyexpat" )
17
+ runtest ("test.test_sax" )
18
+ runtest ("test.test_xml_dom_minicompat" )
19
+ runtest ("test.test_xml_etree" )
20
+ runtest ("test.test_xml_etree_c" )
21
+ runtest ("test.test_xmlrpc" )
Original file line number Diff line number Diff line change @@ -216,19 +216,6 @@ def reset(self):
216
216
self .parser .setFeature (xml .sax .handler .feature_namespaces , 1 )
217
217
self .parser .setContentHandler (self .pulldom )
218
218
219
- def __getitem__ (self , pos ):
220
- import warnings
221
- warnings .warn (
222
- "DOMEventStream's __getitem__ method ignores 'pos' parameter. "
223
- "Use iterator protocol instead." ,
224
- DeprecationWarning ,
225
- stacklevel = 2
226
- )
227
- rc = self .getEvent ()
228
- if rc :
229
- return rc
230
- raise IndexError
231
-
232
219
def __next__ (self ):
233
220
rc = self .getEvent ()
234
221
if rc :
You can’t perform that action at this time.
0 commit comments