Difference between revisions of "fcl-xml"

From Free Pascal wiki
Jump to navigationJump to search
(added some unit descriptions)
Line 16: Line 16:
 
|[[htmlwriter]]||  -  || Implements a verified HTML producer.
 
|[[htmlwriter]]||  -  || Implements a verified HTML producer.
 
|----
 
|----
|[[htmwrite]]||  -  ||  
+
|[[htmwrite]]||  -  || Writes a DOM structure as UTF-8 encoded HTML data into file or stream.
 
|----
 
|----
 
|[[sax]]||  -  ||
 
|[[sax]]||  -  ||
Line 26: Line 26:
 
|[[xhtml]]||  -  ||
 
|[[xhtml]]||  -  ||
 
|----
 
|----
|[[xmlcfg]]||  -  ||
+
|[[xmlcfg]]||  -  || Implements TXMLConfig class, which enables applications to store their configuration data in XML files.
 
|----
 
|----
|[[xmlconf]]||  -  ||
+
|[[xmlconf]]||  -  || An improved version of xmlcfg, based on DOMString instead of AnsiString. Provides better Unicode support, faster/smaller code due to absense of conversions, and TRegistry-like OpenKey/CloseKey methods.
 
|----
 
|----
 
|[[xmliconv]]||  -  ||  Registers an any-to-UTF-16 decoder based on libiconv ([[iconvenc]] package)
 
|[[xmliconv]]||  -  ||  Registers an any-to-UTF-16 decoder based on libiconv ([[iconvenc]] package)
Line 38: Line 38:
 
|[[xmlstreaming]]||  -  ||
 
|[[xmlstreaming]]||  -  ||
 
|----
 
|----
|[[xmlutils]]||  -  ||
+
|[[xmlutils]]||  -  || Implements utility functions and classes that are used by other units in the package.
 
|----
 
|----
 
|[[xmlwrite]]||  -  || Writes a DOM structure as XML data into a file or stream. It can deal both with XML files and XML fragments.
 
|[[xmlwrite]]||  -  || Writes a DOM structure as XML data into a file or stream. It can deal both with XML files and XML fragments.
Line 51: Line 51:
 
!STYLE="background:#ffdead;"|'''comment'''
 
!STYLE="background:#ffdead;"|'''comment'''
 
|----
 
|----
|names.inc      ||
+
|names.inc      || Included by xmlutils. Contains character tables for XML names.
 
|----
 
|----
 
|tagsimpl.inc    ||
 
|tagsimpl.inc    ||

Revision as of 18:35, 29 March 2009

Units

Unit unit group comment
dom - Implements most of the DOM level 1 specification and supports some of the DOM level 2 extensions.
dom_html -
htmldefs - Contains basic HTML declarations.
htmlelements - Implements a DOM for HTML content. Contains a TDOMElement descendent for all valid HTML 4.1 tags.
htmlwriter - Implements a verified HTML producer.
htmwrite - Writes a DOM structure as UTF-8 encoded HTML data into file or stream.
sax -
sax_html -
sax_xml -
xhtml -
xmlcfg - Implements TXMLConfig class, which enables applications to store their configuration data in XML files.
xmlconf - An improved version of xmlcfg, based on DOMString instead of AnsiString. Provides better Unicode support, faster/smaller code due to absense of conversions, and TRegistry-like OpenKey/CloseKey methods.
xmliconv - Registers an any-to-UTF-16 decoder based on libiconv (iconvenc package)
xmliconv_windows - Registers an any-to-UTF-16 decoder based on libiconv (windows dependant iconv header), Windows version. (still uses iconv!)
xmlread - Provides an XML reader, which can read XML data from a file or stream.
xmlstreaming -
xmlutils - Implements utility functions and classes that are used by other units in the package.
xmlwrite - Writes a DOM structure as XML data into a file or stream. It can deal both with XML files and XML fragments.
xpath - Just a XPath implementation. Should be fairly completed, but there hasn't been further development recently.

Include files

include file comment
names.inc Included by xmlutils. Contains character tables for XML names.
tagsimpl.inc
tagsintf.inc contains all possible tags for htmlelements
wtagsimpl.inc
wtagsintf.inc contains all possible tags for htmlwriter

Notes

  • beware, both dom_html and htmlelements seem to define a THTMLDocument class.

Go to back Packages List