XML in JavaScript

Matt Frisbie · 2019

Many developers started writing their own XML parsers in JavaScript to deal with the lack of built-in solutions. Because browser vendors began implementing XML solutions before formal standards were created, each offers not only different levels of support but also different implementations. Document Object Model (DOM) Level 2 was the first specification to introduce the concept of dynamic XML DOM creation. XPath was created as a way to locate specific nodes within a DOM document, so it's important to XML processing. Unlike XML and XPath, XSLT has no formal application programming interface associated with it and is not represented in the formal DOM at all. This left browser vendors to implement support in their own way. The first browser to add XSLT processing in JavaScript was Internet Explorer. The XSLT-Processor type allows developers to transform XML documents by using XSLT in a manner similar to the XSL processor in Internet Explorer.

Read the paper · More papers on PaperTik