michael b72139e578 Merged revisions 6875 via svnmerge from 18 anos atrás
..
README 7c65340ff1 Merged revisions 6721,6734,6747,6758-6760,6763-6764,6766,6768,6780,6788-6792,6801,6837,6839-6841,6845,6854,6870,6876-6878 via svnmerge from 18 anos atrás
dom.pp b72139e578 Merged revisions 6875 via svnmerge from 18 anos atrás
dom_html.pp 5b8dd4c004 * move fcl sources to separate packages 18 anos atrás
fpmake.inc 7c65340ff1 Merged revisions 6721,6734,6747,6758-6760,6763-6764,6766,6768,6780,6788-6792,6801,6837,6839-6841,6845,6854,6870,6876-6878 via svnmerge from 18 anos atrás
fpmake.pp 5b8dd4c004 * move fcl sources to separate packages 18 anos atrás
htmldefs.pp 7c65340ff1 Merged revisions 6721,6734,6747,6758-6760,6763-6764,6766,6768,6780,6788-6792,6801,6837,6839-6841,6845,6854,6870,6876-6878 via svnmerge from 18 anos atrás
htmlelements.pp 7c65340ff1 Merged revisions 6721,6734,6747,6758-6760,6763-6764,6766,6768,6780,6788-6792,6801,6837,6839-6841,6845,6854,6870,6876-6878 via svnmerge from 18 anos atrás
htmlwriter.pp 7c65340ff1 Merged revisions 6721,6734,6747,6758-6760,6763-6764,6766,6768,6780,6788-6792,6801,6837,6839-6841,6845,6854,6870,6876-6878 via svnmerge from 18 anos atrás
htmwrite.pp 5b8dd4c004 * move fcl sources to separate packages 18 anos atrás
names.inc 5b8dd4c004 * move fcl sources to separate packages 18 anos atrás
sax.pp 5b8dd4c004 * move fcl sources to separate packages 18 anos atrás
sax_html.pp 5c65e4bd11 Merged revisions 6749 via svnmerge from 18 anos atrás
sax_xml.pp 5b8dd4c004 * move fcl sources to separate packages 18 anos atrás
tagsimpl.inc 7c65340ff1 Merged revisions 6721,6734,6747,6758-6760,6763-6764,6766,6768,6780,6788-6792,6801,6837,6839-6841,6845,6854,6870,6876-6878 via svnmerge from 18 anos atrás
tagsintf.inc 7c65340ff1 Merged revisions 6721,6734,6747,6758-6760,6763-6764,6766,6768,6780,6788-6792,6801,6837,6839-6841,6845,6854,6870,6876-6878 via svnmerge from 18 anos atrás
wtagsimpl.inc 7c65340ff1 Merged revisions 6721,6734,6747,6758-6760,6763-6764,6766,6768,6780,6788-6792,6801,6837,6839-6841,6845,6854,6870,6876-6878 via svnmerge from 18 anos atrás
wtagsintf.inc 7c65340ff1 Merged revisions 6721,6734,6747,6758-6760,6763-6764,6766,6768,6780,6788-6792,6801,6837,6839-6841,6845,6854,6870,6876-6878 via svnmerge from 18 anos atrás
xhtml.pp 3acf01b391 Merged revisions 6871 via svnmerge from 18 anos atrás
xmlcfg.pp 5b8dd4c004 * move fcl sources to separate packages 18 anos atrás
xmlconf.pp df24f86cbe Merged revisions 6897 via svnmerge from 18 anos atrás
xmlread.pp 5c65e4bd11 Merged revisions 6749 via svnmerge from 18 anos atrás
xmlstreaming.pp 5b8dd4c004 * move fcl sources to separate packages 18 anos atrás
xmlutils.pp 5c65e4bd11 Merged revisions 6749 via svnmerge from 18 anos atrás
xmlwrite.pp 5c65e4bd11 Merged revisions 6749 via svnmerge from 18 anos atrás
xpath.pp 5b8dd4c004 * move fcl sources to separate packages 18 anos atrás

README

Free Pascal XML units
=====================

DOM
---
Implements most of the DOM level 1 specification and supports some of the
DOM level 2 extensions.


XMLRead
-------
Provides a simple XML reader, which can read XML data from a file or stream.
This simple parser will be replaced by a much improved one soon, which will be
able to handle different character encodings, namespaces and entity references.
(This parser reads the file directly, i.e. it doesn't support Unicode or
different charsets yet.)
Regarding entity references: The pre-defined entities "lt", "gt", "amp", "apos"
and "quot" are replaced by their normal value during reading. Other entity
references are stored as TDOMEntityReference nodes in the DOM tree.
Regarding whitespace handling: Whitespace directly after the beginning of a
tag is discarded, and sections of the XML file which contain only whitespace and
no other text content are discarded as well.


XMLWrite
--------
Writes a DOM structure as XML data into a file or stream. It can deal both with
XML files and XML fragments.
At the moment it supports only the node types which can be read by XMLRead.
Please note that the writer replaces some characters by entity references
automatically:
For normal text nodes, the following replacements will be done:
'<' => '<'
'>' => '>'
'&' => '&'
For attribute values, additionally '"' gets replaced by '"'. Single
apostrophes (') don't need to get converted, as values are already written using
"" quotes.
The XML reader (in xmlread.pp) will convert these entity references back to
their original characters.


XPath
-----
Just a XPath implementation. Should be fairly completed, but there hasn't been
further development recently.


HTMLDefs
--------
Contains basic HTML declarations.


HTMLElements
------------
Implements a DOM for HTML content. Contains a TDOMElement descendent for
all valid HTML 4.1 tags.

THtmlCustomElement:
Basis for all HTML tag elements.
THTMLDocument:
TDOMDocument descendent
THTMLIDElement:
element representing tag

All tags are in tagsintf.inc.


HTMLWriter
----------
Implements a verified HTML producer.

THTMLwriter:
This is a class which allows to write certified correct HTML.
It works using the DOM for HTML.
It also has forms support.

Writing HTML is done as follows:

StartBold;
Write('This text is bold');
EndBold;
or
Bold('This text is bold');

But the following is also possible
Bold(Center('Bold centered text'));

Open tags will be closed automatically.

wtagsintf.inc contains all possible tags.