ament_xmllint.main module

class ament_xmllint.main.CustomHandler

Bases: ContentHandler

processingInstruction(target, data)

Receive notification of a processing instruction.

The Parser will invoke this method once for each processing instruction found: note that processing instructions may occur before or after the main document element.

A SAX parser should never report an XML declaration (XML 1.0, section 2.8) or a text declaration (XML 1.0, section 4.3.1) using this method.

startDocument()

Receive notification of the beginning of a document.

The SAX parser will invoke this method only once, before any other methods in this interface or in DTDHandler (except for setDocumentLocator).

startElement(name, attrs)

Signals the start of an element in non-namespace mode.

The name parameter contains the raw XML 1.0 name of the element type as a string and the attrs parameter holds an instance of the Attributes class containing the attributes of the element.

ament_xmllint.main.get_files(paths, extensions, excludes=[])
ament_xmllint.main.get_xunit_content(report, testname, elapsed)
ament_xmllint.main.main(argv=['/tmp/ws/docs_build/ament_xmllint/ament_xmllint/wrapped_sphinx_directory', '/tmp/ws/docs_build/ament_xmllint/ament_xmllint/wrapped_sphinx_directory/sphinx_output'])