DIAdem Help

Property: Namespaces for Document <DataPlugin>

  • Updated2024-09-12
  • 1 minute(s) read

Property: Namespaces for Document <DataPlugin>

Returns all namespaces of a document. Use namespaces to identify groups of XML elements in a document.

Set oDocumentNamespaces = Object.Namespaces
ObjectDocument <DataPlugin>
Object with this property
oDocumentNamespacesDocumentNamespaces <DataPlugin>
Returned object

The following example transfers all meta properties of a document's namespaces into the data set properties:

Dim oMyNamespace, oMyProp
For each oMyNamespace in Document.Namespaces
  For each oMyProp in oMyNamespace.Properties
    Call Root.Properties.Add(oMyProp.Name, oMyProp.Value)
  Next
Next

Log in to get a better experience