6
Implements most of the DOM level 1 specification and supports some of the
7
DOM level 2 extensions.
12
Provides a simple XML reader, which can read XML data from a file or stream.
13
This simple parser will be replaced by a much improved one soon, which will be
14
able to handle different character encodings, namespaces and entity references.
15
(This parser reads the file directly, i.e. it doesn't support Unicode or
16
different charsets yet.)
17
Regarding entity references: The pre-defined entities "lt", "gt", "amp", "apos"
18
and "quot" are replaced by their normal value during reading. Other entity
19
references are stored as TDOMEntityReference nodes in the DOM tree.
20
Regarding whitespace handling: Whitespace directly after the beginning of a
21
tag is discarded, and sections of the XML file which contain only whitespace and
22
no other text content are discarded as well.
27
Writes a DOM structure as XML data into a file or stream. It can deal both with
28
XML files and XML fragments.
29
At the moment it supports only the node types which can be read by XMLRead.
30
Please note that the writer replaces some characters by entity references
32
For normal text nodes, the following replacements will be done:
36
For attribute values, additionally '"' gets replaced by '"'. Single
37
apostrophes (') don't need to get converted, as values are already written using
39
The XML reader (in xmlread.pp) will convert these entity references back to
40
their original characters.
45
Just a XPath implementation. Should be fairly completed, but there hasn't been
46
further development recently.
51
Contains basic HTML declarations.
56
Implements a DOM for HTML content. Contains a TDOMElement descendent for
57
all valid HTML 4.1 tags.
60
Basis for all HTML tag elements.
62
TDOMDocument descendent
64
element representing <ID> tag
66
All tags are in tagsintf.inc.
71
Implements a verified HTML producer.
74
This is a class which allows to write certified correct HTML.
75
It works using the DOM for HTML.
76
It also has forms support.
78
Writing HTML is done as follows:
81
Write('This text is bold');
84
Bold('This text is bold');
86
But the following is also possible
87
Bold(Center('Bold centered text'));
89
Open tags will be closed automatically.
91
wtagsintf.inc contains all possible tags.