Module XML

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

Import path

semmle.code.xml.XML

Imports

Location

Provides classes and predicates for working with locations.

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 of the form <!-- ... --> is an XML comment.

XMLDTD

A “Document Type Definition” of an XML file.

XMLElement

An XML tag 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.