
CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 277
deleteArrayItem()
XMPMetaObj.deleteArrayItem(schemaNS, arrayName,itemIndex)
schemaNS
The namespace URI string. See “Schema namespace string constants” on
page 262.
arrayName
The array-type property name string. Can be a general path expression.
itemIndex
Number. The 1-based position index of the item. Use
XMPConst.ARRAY_LAST_ITEM to reference the last existing item in the array.
Deletes the metadata tree that has the given array item as its root.
Returns
undefined.
deleteProperty()
XMPMetaObj.deleteProperty(schemaNS, propName)
schemaNS
The namespace URI string. See “Schema namespace string constants” on
page 262.
propName
The property name string. Can be a general path expression.
Deletes the metadata tree that has the given property as its root. If the property does not exist, does
nothing.
Returns
undefined.
deleteStructField()
XMPMetaObj.deleteStructField(schemaNS, structName, fieldNS, fieldName)
schemaNS
The namespace URI string. See “Schema namespace string constants” on
page 262.
structName
The structure name string. Can be a general path expression.
fieldNS
The field type namespace string. See “Schema namespace string constants” on
page 262.
fieldName
The field name string. Must be a simple XML name.
Deletes the metadata tree that has the given structure field as its root.
Returns
undefined.
deleteQualifier()
XMPMetaObj.deleteQualifier(schemaNS, structName, qualNS, qualName)
schemaNS
The namespace URI string. See “Schema namespace string constants” on
page 262.
structName
The structure name string. Can be a general path expression.
qualNS
The URI string of the qualifier namespace.
qualName
The qualifier name string. Must be a simple XML name.
Deletes the metadata tree that has the given qualifier as its root. If the qualifier does not exist, does
nothing.
Returns
undefined.
Komentáře k této Příručce