Determine if XML lines result in equal trees

are_equal_xml_lines(lines_1, lines_2, section)

Arguments

lines_1

lines of a first XML file

lines_2

lines of a second XML file

section

name of an XML section. Assumes that there is one line that starts with <section (excluding whitespace) and one line that is </section> (also excluding whitespace)

Value

TRUE if the two sections of the XML files are equal, FALSE otherwise

Author

Richèl J.C. Bilderbeek