Specifications
ValueArgument
The name of the external dataset to be accessed, or empty/missing to
indicate the embedded dataset
Dataset
The data model used for querying the data set; when empty/missing the
data model is derived from the dataset; allowed values are “XML”, “JDF”
and “XMP”
Model
This argument can be omitted except when forcing a JDF data model to
be queried using regular XML semantics (that is, using “evalToString”
rather than “getString”)
The location path or expression for selecting a field (or calculating a value)
using syntax appropriate for the data model:
Path
• XML: XPath expression (which includes XPath location paths)
• JDF: JDF location path (which is really the same as an XPath location
path)
• XMP: XMP location path
• All prefixes used in the location path or expression must occur in the
default namespace map for the data set; there is no way to specify
explicit mappings
Data type conversions
Switch does not guarantee that the value of a variable in the Metadata category conforms to the
string representation of its data type. The user is responsible for selecting the correct data type
by using the appropriate variable in the Metadata category.
The variable is always set to the string value of the query (for Text Indexed, each item in the list
is converted separately).
In other words:
• For the JDF and XMP data models there is never a conversion, because the result of the query
is always a string (the text content of the node specified by the location path).
• For the XML data model, the result of the XPath expression is converted to a string using XPath
semantics (unless it was a string to begin with).
Photo group
These variables access embedded metadata fields in the EXIF format (synchronized with Adobe
XMP). The third column indicates the hexadecimal EXIF tag corresponding to each variable.
EXIFF tagXMP location pathData typeVariable name
0x9202exif:ApertureValueRationalPhoto.ApertureValue
0x9203exif:BrightnessValueRationalPhoto.BrightnessValue
0xA001exif:ColorSpaceIntegerPhoto.ColorSpace
0x9102exif:CompressedBitsPerPixelRationalPhoto.CompressedBitsPerPixel
306
Enfocus Switch 10