CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.13 (changelog, source)
Search

Module XML

Provides classes and predicates for working with XML files and their content.

Import path

import semmle.javascript.XML

Imports

FileSystem

Provides classes for working with files and folders.

Classes

XmlAttribute

An attribute that occurs inside an XML element.

XmlCharacters

A sequence of characters that occurs between opening and closing tags of an XML element, excluding other elements.

XmlComment

A comment in an XML file.

XmlDtd

An XML document type definition (DTD).

XmlElement

An XML element in an XML file.

XmlFile

An XML file.

XmlLocatable

An XML element that has a location.

XmlNamespace

A namespace used in an XML file.

XmlParent

An XmlParent is either an XmlElement or an XmlFile, both of which can contain other elements.