W3cubDocs

/Haxe Flash

Xml

package flash

import flash.NativeXml

Available on flash

Variables

nodeName:String

read only nodeType:XmlType

nodeValue:String

read only parent:Xml

Methods

addChild (x:Xml):Void

attributes ():Iterator<String>

elements ():Iterator<Xml>

elementsNamed (name:String):Iterator<Xml>

exists (att:String):Bool

firstChild ():Xml

firstElement ():Xml

get (att:String):String

insertChild (x:Xml, pos:Int):Void

iterator ():Iterator<Xml>

@:has_untyped remove (att:String):Void

@:has_untyped removeChild (x:Xml):Bool

@:has_untyped set (att:String, value:String):Void

toString ():String

Static variables

static read only CData:XmlType

static read only Comment:XmlType

static read only DocType:XmlType

static read only Document:XmlType

static read only Element:XmlType

static read only PCData:XmlType

static read only ProcessingInstruction:XmlType

Static methods

static createCData (data:String):Xml

static createComment (data:String):Xml

static createDocType (data:String):Xml

static createDocument ():Xml

static createElement (name:String):Xml

static createPCData (data:String):Xml

static createProcessingInstruction (data:String):Xml

static parse (str:String):Xml

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/Xml.html