DIAdem Help

Property: Name for DocumentNamespace <DataPlugin>

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

Property: Name for DocumentNamespace <DataPlugin>

Returns the name of a namespace in a document. Use namespaces to group XML elements in a document.

Object.Name
ObjectDocumentNamespace <DataPlugin>
Object with this property
Object.NameString with read access

The following example creates for each namespace of a document a data set property with the same name and assigns the number of properties in a namespace to this data set property:

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