There is no native E4X style XML handling in JS, so an implementation of the following objects needs a customised solution (maybe use 'goog.dom.xml'):

 

ActionScript

JavaScript + Closure annotation

Notes

isXMLName

isXMLName()

?

 

XML

XML(value)

?

 

XMLList

XMLList(value)

?

 

QName

QName

?

 

XML

XML

?

 

@

@

?

 

{}

{}

?

 

[]

[]

?

 

+

+

?

 

+=

+=

?

 

delete

delete

?

 

..

..

?

 

.

.

?

 

()

()

?

 

<>

<>

?

 

default xml namespace

default xml namespace

?

 

  • No labels