loadXML()

Input / Files

Description

Loads an XML file and returns an XML object.

Syntax

XML loadXML(std::string path)

Parameters

NameTypeDescription
pathstd::stringpath to the XML file

Returns

XML

Related

Under the Hood

From Processing.h:

static XML loadXML(const std::string& path);

Under the Hood

From Processing.cpp:

XML PApplet::loadXML(const std::string& path){ return parseXML(readFileString(path)); }