An XML element.
Go to Property Listing | Method Listing
Characters, DTDs, EPSs, Images, InsertionPoints, Lines, Number, Object, PDFs, PICTs, PageItems, Paragraphs, SpecialCharacters, Stories, Story, String, TextColumns, TextStyleRanges, Texts, WMFs, Words, XMLAttributes, XMLComments, XMLElements, XMLInstructions, XMLItems, XMLTag
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
A collection of characters. |
||
|
read/write |
The contents of the text. Can return: String or SpecialCharacters enumerator. |
||
|
readonly |
A collection of DTDs. |
||
|
readonly |
A collection of EPS files. |
||
|
readonly |
The unique ID of the XMLElement. |
||
|
readonly |
A collection of bitmap images in any bitmap file format (including TIFF, JPEG, or GIF). |
||
|
readonly |
The index of the XMLElement within its containing object. |
||
|
readonly |
A collection of insertion points. |
||
|
readonly |
A collection of lines. |
||
|
read/write |
The XML tag applied to the element. Can also accept: String. |
||
|
readonly |
The page items collection, which can be used to process all page items in a container (such as a document, page, or group), regardless of type. |
||
|
readonly |
A collection of paragraphs. |
||
|
readonly |
The parent of the XMLElement (a Document, XMLElement or XMLItem). |
||
|
readonly |
The story that contains the text. |
||
|
readonly |
A collection of PDF files. |
||
|
readonly |
A collection of PICT graphics. |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
readonly |
A collection of stories. |
||
|
readonly |
The index of the character containing the table (from the beginning of the story). |
||
|
readonly |
A collection of text columns. |
||
|
readonly |
A collection of text style ranges. |
||
|
readonly |
A collection of text objects. |
||
|
readonly |
A collection of WMF graphics. |
||
|
readonly |
A collection of words. |
||
|
readonly |
A collection of XML attributes. |
||
|
readonly |
A collection of XML comments. |
||
|
readonly |
A collection of XML elements. |
||
|
readonly |
A collection of XML instructions. |
||
|
readonly |
A collection of XML items. |
XMLElement duplicate ()
Duplicates the XMLElement.
undefined exportFile (format:Varies ExportFormat String, to:File, [showingOptions:Boolean=Boolean], using:PDFExportPreset)
Exports the object(s) to a file.
|
Parameter |
Type |
Description |
|---|---|---|
|
format |
The export format. Can accept: ExportFormat enumerator or String. |
|
|
to |
The path of the export file. |
|
|
showingOptions |
If true, prompts the user to select export options. (Optional) (default: false) |
|
|
using |
The export style to use. (Optional) |
undefined importXML (from:File)
Imports an XML file.
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
The path to the XML file. |
undefined markup (using:Varies Story Text PageItem)
Associates the object with the specified XML element while preserving existing content.
|
Parameter |
Type |
Description |
|---|---|---|
|
using |
The object to mark up. Can accept: Text, Story or PageItem. |
XMLElement move (to:LocationOptions, reference:Varies XMLItem Text)
Move element before/after another element or text object, or to beginning/end
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
Location |
|
|
reference |
Before/after this object. Can accept: XMLItem or Text. (Optional) |
undefined placeXML (using:Varies Story PageItem)
Places XML content into the story, replacing the existing content.
|
Parameter |
Type |
Description |
|---|---|---|
|
using |
The story into which to place the XML content. Can accept: Story or PageItem. |
undefined remove ()
Deletes the XMLElement.
undefined select ([existingSelection:SelectionOptions=SelectionOptions])
Select this object.
|
Parameter |
Type |
Description |
|---|---|---|
|
existingSelection |
How to handle the existing selection (Optional) (default: SelectionOptions.REPLACE) |
undefined untag ()
Untags an element.
ValidationError validate ([maximumErrors:Number=Number])
Validates the element against a DTD.
|
Parameter |
Type |
Description |
|---|---|---|
|
maximumErrors |
The maximum number of validation errors to generate. (Optional) (default: 250) |
Document.associatedXMLElement
FormField.associatedXMLElement
Button.associatedXMLElement
Movie.associatedXMLElement
Sound.associatedXMLElement
PageItem.associatedXMLElement
Oval.associatedXMLElement
Rectangle.associatedXMLElement
GraphicLine.associatedXMLElement
Polygon.associatedXMLElement
Group.associatedXMLElement
Image.associatedXMLElement
EPS.associatedXMLElement
PDF.associatedXMLElement
WMF.associatedXMLElement
PICT.associatedXMLElement
TextFrame.associatedXMLElement
Text.associatedXMLElements
Character.associatedXMLElements
Word.associatedXMLElements
Line.associatedXMLElements
TextColumn.associatedXMLElements
Paragraph.associatedXMLElements
TextStyleRange.associatedXMLElements
InsertionPoint.associatedXMLElements
Story.associatedXMLElements
ValidationError.element
Character.parent
DTD.parent
EPS.parent
Image.parent
InsertionPoint.parent
Line.parent
PDF.parent
PICT.parent
PageItem.parent
Paragraph.parent
Story.parent
Text.parent
TextColumn.parent
TextStyleRange.parent
WMF.parent
Word.parent
XMLAttribute.parent
XMLComment.parent
XMLElement.parent
XMLInstruction.parent
XMLItem.parent