Official Content

Sets an XML Name for a simple member of a structured data type.

Scope

Level: SDT member

Description

If this property value is not set, the default value (the SDT member name) used will be XMLName.

Runtime/Design time

This property applies only at design time.

Samples

Consider the following Strucutured 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 Name property value is set to "MYNAME" (and XML Type Property = Element), the SDT XML representation will be as follows:

<SDT1 xmlns="Knowledge Base" >
   <MYNAME>1</MYNAME>
   <item2>Value</item2>
</SDT1>

See Also

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

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