XMLNew

Creates a new empty XML Object

Method Signature

XMLNew(caseSensitive=[boolean])

Arguments

Argument
Type
Required
Description
Default

caseSensitive

boolean

true

Whether the identifiers in the XML document ( e.g. dot notation ) are case sensitive

false

Examples

The simple xmlnew example

Here, We created myXml by using xmlNew function. Then created root node(sampleXml) for myXml and set the rootnode text

<bx:set myXml = xmlNew() >
<bx:set myXml.XMLROOT = xmlelemnew( myXml, "sampleXml" ) >
<bx:set myXml.SAMPLEXML.XMLTEXT = "This is root node text" >
<bx:dump var="#myXml#">

Additional Examples

Run Example

xml_document = XmlNew();
dump( xml_document );

Last updated

Was this helpful?