Summary
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:
-
dc - -
http://purl.org/dc/elements/1.1/
-
xmpRights - -
http://ns.adobe.com/xap/1.0/rights/
-
cc - -
http://creativecommons.org/ns#
-
xmp - -
http://ns.adobe.com/xap/1.0/
-
xml - -
http://www.w3.org/XML/1998/namespace
Syntax
public Xmp WithNamespace(string xmlNamespace, string alias)
Parameters
Name |
Type |
Description |
xmlNamespace |
string |
The namespace to define. |
alias |
string |
The namespace alias. |
Return Value
Type |
Description |
Xmp |
The current module instance. |