Official Content

A string that represents the XML namespace.

Scope

Level: SDT member

Runtime/Design time

This property applies only at design time.

Samples

Consider the following Structured Data Type:

SDT1
    Item1 Num(4)
    Item2 Char(20)

which is populated throughout the following code:

SDT1
{
   item1 = 1 
   item2 = 'Value'
}

When the Item1 XML Namespace property value is set to "MYNAMESPACE," the SDT XML representation will be as follows:

<SDT1 xmlns="Knowledge Base" >
   <Item1 xmlnls="MYNAMESPACE">1</Item1>
   <item2>Value</item2>
</SDT1>

Considerations

  • If this property value is not set, the default value (the SDT namespace) will be XMLNamespace.
  • If an XML Name value is set, but the XML Namespace is not set, the namespace is NOT inherited and an empty namespace is used.
  • If the XML Name is not set, the namespace is not passed along.

See Also

XML Information Properties (SDT)
XML Type property (SDT)
XML Name property (SDT)
Xml SoapType property (SDT)
XML Null Serialization property (SDT)

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant