WPTools Manual



Search


(press enter to search)

Class TWPXMLTree

Hierarchy

System.TObject | System.Classes.TPersistent | System.Classes.TComponent | WPXMLint.TWPCustomXMLInterface | WPXMLint.TWPCustomXMLTree | TWPXMLTree

Description for Class TWPCustomXMLTree

This class is based on TWPCustomXMLInterface. I allocates an intern tree to hold all the data of the XML file. It was designed to hold also XML alike code such as HTML. It supports methods to find and replaces XML nodes, to save a node and to delete nodes. It even supports search in the text and xml params. The unit WPXmlEditor contains a valuable editor which manipulates the data stored in the XML tree.

Properties

Property AllowTextOutsideOfTags : Boolean

Property AutoCreateClosedTags : Boolean

Property DontAllowMultTagsOnFirstLevel : Boolean

Property DontSaveEmptyTags : Boolean

Property Encoding : string

Property HTMLMode : Boolean

Property StyleSheets : TWPXMLStyleSheetCollection

Property Tree : TWPXMLOneLevel

Property UseOnlyXMLEntities : Boolean

Property XMLData : TWPXMLInterfaceData

Events

OnError : TWPXMLInterfaceReadError= procedure(Sender: TWPCustomXMLInterface; Error: TWPXMLError; Position: Integer) of object;

OnLoaded : TNotifyEvent= procedure (Sender : TObject) of Object

OnWriteTextEnd : TWPXMLInterfaceWriteText= procedure(Sender: TWPCustomXMLInterface) of object;

OnWriteTextStart : TWPXMLInterfaceWriteText= procedure(Sender: TWPCustomXMLInterface) of object;

Used or referenced by

-Function TWPXMLOneLevel.CopyTree(NewParent:TWPCustomXMLTree) : TWPXMLOneLevel
-Function TWPXMLOneLevel.CopyTree(NewParent:TWPCustomXMLTree) : TWPXMLOneLevel