
CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 278
doesArrayItemExist()
XMPMetaObj.doesArrayItemExist(schemaNS, arrayName, itemIndex)
schemaNS
The namespace URI string. See “Schema namespace string constants” on
page 262.
arrayName
The array name string. Can be a general path expression.
itemIndex
Number. The 1-based position index of the item.
Reports whether an array item with a given index currently exists in an existing array in the
metadata.
Returns
true if the array and item exist.
doesPropertyExist()
XMPMetaObj.doesPropertyExist(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.
Reports whether a property with a given name currently exists in the metadata.
Returns
true if the property exists.
doesStructFieldExist()
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 “Type namespace string constants” on
page 263.
fieldName
The field name string. Must be a simple XML name.
Reports whether a structure field with a given name currently exists in the metadata.
Returns
true if the structure and field exist.
doesQualifierExist()
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 qualifier namespace URI string.
qualName
The qualifier name string. Must be a simple XML name.
Reports whether a qualifier with a given name currently exists for a given property.
Returns
true if the property and qualifier exist.
Comentarios a estos manuales