Official Content

Writes an element with the indicated value.

Syntax

&DataType.WriteElement(ValueName, ElementValue)

Where:
ValueName
   Name of the element
 
ElementValue
   Value to be written inside the element
 

Scope

Extended Data Types: XmlWriter
Generators: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

 Notes:
  • When ElementValue is of the Character type, special characters are substituted by character sequences (the '<' is substituted by '<', the '>' by '>', and so on).
  • Unlike WriteStartElement, the element created does not contain sub-elements.

See Also

Xmlwriter Data Type
WriteStartElement






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