Official Content

Starts a compound element, but using namespaces.

Syntax

&VarBasedOnXmlWriter.WriteNSStartElement(LocalName [ , Prefix, NameSpaceURI ] )
 
Where:
LocalName
   Local Name of the element to be created

Prefix
   Prefix of the element to be created

NameSpaceURI
   Uri of namespace

Scope

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

Description

This method is equal to the WriteStartElement method, but using namespaces.

If you indicate a NameSpaceURI that is not in the element’s definition environment, or if it has a prefix different from the Prefrix parameter, then the attribute xmlns:prefix=URI is created automatically.

See Also

Xmlwriter Data Type
WriteNSElement

  


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