W3cubDocs

/Haxe PHP

Xml

package php

import php.NativeXml

Available on php

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>

remove (att:String):Void

removeChild (x:Xml):Bool

@:ifFeature("Xml.parse") 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

@:has_untyped static parse (str:String):Xml

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