Free since 2005 · No login required
AT

Academic Tutorials

Learn at your own pace

site-mobile-top-banner · 320x50

# How does an XML literal respectively an XML initializer look?

In its simplest form an XML literal is just a snippet of XML markup written literally in a JavaScript/ECMAScript expression. On the right side of the following assignments there are XML literals for the different kind of nodes an XML object can represent (element node, CDATA text node, comment node, processing instruction node)