Summary
Reads XMP data from the input documents and adds it to the document metadata.
- Assembly
- Wyam
.Xmp .dll - Namespace
- Wyam
.Xmp - Interfaces
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IModule"]
click Interface0 "/api/Wyam.Common.Modules/IModule"
Type["Xmp"]
class Type type-node
Syntax
public class Xmp : IModule
Remarks
The
SourceFilePath metadata key of each input document will be used to
locate any sidecar files.
Constructors
| Name | Summary |
|---|---|
| Xmp |
Reads XMP data from the input documents and adds it to the document metadata with the specified options. |
Methods
| Name | Value | Summary |
|---|---|---|
| Execute |
IEnumerable |
This should not be called directly, instead call
IExecutionContext.Execute() if you need to execute a module from within another module.
|
| WithMetadata |
Xmp |
Specifies an XML element to find in the XMP data along with the metadata key that will be used to set it in the document.
|
| WithNamespace |
Xmp |
Adds or overrides a namespace for resolving namespace prefixes of the
xmpPath
specified in Wyam.Xmp.Xmp.WithMetadata(System.String,System.String,System.Boolean). Several default namespaces are predefined:
|
