WithNamespace(string, string) Method
Adds or overrides a namespace for resolving namespace prefixes of the xmpPath specified in WithMetadata(string, string, bool). 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
Namespace
Statiq.Xmp
Containing Type
ReadXmp

Syntax

public ReadXmp WithNamespace(string xmlNamespace, string alias)

Parameters

Name Type Description
xmlNamespace string The namespace to define.
alias string The namespace alias.

Return Value

Type Description
ReadXmp The current module instance.