parseXML()

Input / Files

Description

Parses an XML string and returns an XML object.

Syntax

XML parseXML(std::string src)

Parameters

NameTypeDescription
srcstd::stringXML string to parse

Returns

XML

Related

Under the Hood

From Processing.h:

static XML parseXML(const std::string& src);

Under the Hood

From Processing.cpp:

XML PApplet::parseXML(const std::string& src){ size_t i=0; return parseXMLNode(src,i); } XML PApplet::loadXML(const std::string& path){ return parseXML(readFileString(path));