dom
Implements the DOM level 2 Core specification and some of the DOM level 3 Core properties/methods.
Supported DOM level 3 properties and methods:
- TDOMNode.TextContent
- TDOMNode.BaseURI
- TDOMText.IsElementContentWhitespace
- TDOMNode.LookupNamespaceURI()
- TDOMDocument.DocumentURI
- TDOMAttr.IsID
- TDOMNode.LookupPrefix()
- TDOMNode.IsDefaultNamespace()
- XmlVersion property (stub in TDOMDocument, functional in TXMLDocument)
- TDOMDocument.XmlEncoding, TDOMEntity.XmlEncoding
Issues
- The specification says that
TDOMNode.lookupNamespaceURI()should return the default namespace if its argument isnullandnullif the argument is an empty string. Pascal, however, does not allow to distinguish betweennulland empty string, so we have no other choice than returning default namespace for empty string arguments.
Back to fcl-xml overview.
From the Free Pascal wiki, page "dom", as it stood on 2013-04-17 after a change by Jwdietrich, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
