__init__ constructor

On this page

init

Initializes a new XMP package with the specified prefix and namespace URI.

def __init__(self, prefix, namespace_uri):
    ...
Parameter Type Description
prefix str XMP prefix, for example dc:title.
namespace_uri str Namespace URI.

Example

    from groupdocs.metadata.standards.xmp import XmpPackage

    custom = XmpPackage("gd", "https://groupdocs.com")
    ```

### See Also
* class [`XmpPackage`](/metadata/python-net/groupdocs.metadata.standards.xmp/xmppackage/)

On this page