CodeQL library for C/C++
Search

Module XML

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

Import path

import semmle.code.cpp.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.