Property: Name for DocumentNamespace <DataPlugin>
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Properties > Property: Name for DocumentNamespace <DataPlugin>
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
| Object | DocumentNamespace <DataPlugin> Object with this property |
| Object.Name | String 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