WriteNSStartElement Method

Official Content
This documentation is valid for:

Scope

Extended Data Types: XmlWriter
Languages: .NET, Java, Ruby, Visual Basic, Visual FoxPro

Purpose

Equal of WriteStartElement, but using namespaces.

Syntax

&DataType.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


Description

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