XMLViewPreference
XML view preferences.
XMLViewPreference Properties
| Property |
Type |
Access |
Description |
| parent |
Object |
read |
The parent of the object. |
| properties |
An array of property names and values |
r/w |
Property that allows setting of several properties at the same time. |
| showAttributes |
Boolean |
r/w |
Whether to show attributes as well as elements in the structure view. |
| showStructure |
Boolean |
r/w |
Whether to show the structure information for the document. |
| showTaggedFrames |
Boolean |
r/w |
Whether to show tagged frames in the document. |
| showTagMarkers |
Boolean |
r/w |
Whether to show tag markers for tagged text. |
| showTagOptions |
Boolean |
read |
Whether or not to show tag options dialog when tagging items without having their parent tagged. |
| showTextSnippets |
Boolean |
r/w |
Whether to show text snippets of an element’s content in the structure view. |
XMLViewPreference Methods
| Method |
Returns |
Description |
| getElements |
Array of Objects |
Resolve the object specifier. |
| toSource |
String |
Generate JavaScript source that, if executed, will return the specified objects. |
| toSpecifier |
String |
Retrieve the object specifier. |