Class
The document DTD. Base Class: XMLItem
duplicate, move, remove, select
DTD
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
contents | SpecialCharactersString | readonly | The contents of the text. Can return: String or SpecialCharacters enumerator. |
id | number | readonly | The unique ID of the DTD. |
index | number | readonly | The index of the DTD within its containing object. |
parent | Document XMLElement XMLItem |
readonly | The parent of the DTD (a Document, XMLElement or XMLItem). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
publicId | string | readonly | The public ID of the DOCTYPE declaration. Note: Valid only when the DTD is an external subset. |
rootTag | XMLTag | r/w | The tag of the root object. |
systemId | string | readonly | The system ID of the DOCTYPE declaration. Note: Valid only when the DTD is an external subset. |
Methods
Instances
DTD duplicate ()
Duplicates the DTD.
XMLElement move (to:
LocationOptions[, reference:
any])
Move element before/after another element or text object, or to beginning/end
Parameter | Type | Description |
---|---|---|
to | LocationOptions: LocationOptions.BEFORE LocationOptions.AFTER LocationOptions.AT_END LocationOptions.AT_BEGINNING LocationOptions.UNKNOWN | Location |
reference | Text XMLItem | Before/after this object. Can accept: XMLItem or Text. (Optional) |
void remove ()
Deletes the DTD.
void select ([existingSelection:
SelectionOptions=SelectionOptions.REPLACE])
Select this object.
Parameter | Type | Description |
---|---|---|
existingSelection | SelectionOptions: SelectionOptions.ADD_TO SelectionOptions.REMOVE_FROM SelectionOptions.REPLACE | How to handle the existing selection (Optional) (default: SelectionOptions.REPLACE) |
Return
DTD DTD.duplicate ()
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |