-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
113 lines (74 loc) · 3.82 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
tDOM - a XML/DOM/XPath/XSLT implementation for Tcl
(Version 0.8.3)
Jochen Loewer ([email protected])
Rolf Ade ([email protected])
with some contributions by:
Zoran Vasiljevic ([email protected])
This directory contains a freely distributable (under the Mozilla Public
License) thread-safe extension to Tcl/Tk called tDOM.
tDOM contains:
* the newest version of Expat, the XML parser from James Clark,
including namespace and DTD support.
* a modified version of Steve Ball's Tclexpat, the Tcl interface to
expat, for event-like (SAX-like) XML parsing. The modifications
are for performance improvements, to make the newest Expat
features (XML namespace) available and for some additional features.
* a (partial) DOM I and II implementation in C for maximum
performance and minimum memory need following the W3C DOM Core
Level 1 recommendation using a OO-like syntax.
* a very complete, compliant and fast XPath implementation in C
following the November 99 W3C recommendation.
* a fast XSLT implementation in C following the W3C Recommendation
16 November 1999.
* a (partial) implementation in C of the XPointer (97) navigational
functions.
* UTF-8 to 8 bit encoding back conversion functionality to support
Tcl version < 8.1x
* optional DTD validation
* additional convenience methods
* documentation in TMML, HTML and nroff format
COMPILING/USING tDOM
Depending on your platform, (unix or win) go to the corresponding
directory and invoke the configure script:
../configure
make
make test
make install
Alternatively, you can build the tDOM package in just about any
directory elsewhere on the fileystem (since TEA-compatible).
NOTE: Be sure to have the CC=gcc defined if you're using GCC.
You might also want to do "../configure --help" to get list of all
supported options of the configure script. In the "unix" directory
there is a "CONFIG" file containing some examples on how to invoke
the "configure" script for some common cases. You can peek
there. This file also includes a short description of the tDOM
specific configure options.
Since tDOM is TEA-compatible you should be able to build it using
the MinGW build environment for Windows. There is also the MSVC
nmake file so you can compile the package with Microsoft tools.
The compile process will build the tDOM shared library suitable for
loading into the Tcl shell using standard "package require" mechanism.
Optionally the make process can also generate the "tcldomsh"
executable shell with tDOM functionality built-in. You can use this
shell as any other Tcl shell. To do this, you have to:
make tcldomsh
Note, however, that this step is optional.
Note for Tcl 8.0.5 users:
-------------------------
Per default, this release of tDOM links against Tcl stubs
library. To build it against Tcl8.0.5, use the configure-tcl8.0.5
script to generate the Makefile.
If you want to recreate the configure script for building against
Tcl8.0.5 please edit the "configure.in" file in this directory,
comment-out the AC_DEFINE(USE_TCL_STUBS) directive and run
autoconf. Please be sure to use autoconf with version 2.59.
PLATFORMS
HP-UX-10.20 (both ansi cc and gcc)
HP-UX-9.x
Linux 2.2.5 (egcs 2.91.66, SuSE 6.1)
Solaris 2.5.1+ (both gcc and SunWorks compilers)
W2K (VC++ 6.0)
Mac OS X 10.2.6 (Apple's gcc)
Other machines and OS's are not tested but should work too.
Have fun!
- EOF -