Learn R Programming

beautier (version 2.6.12)

are_equivalent_xml_files: Internal function

Description

Internal function used for debugging to determine if XML files result in equivalent trees

Usage

are_equivalent_xml_files(filename_1, filename_2, section = NA)

Value

TRUE if the two XML files result in equivalent trees, FALSE otherwise

Arguments

filename_1

name of a first XML file

filename_2

name of a second XML file

section

the name of the XML section, use NA to check the whole file

Author

Richèl J.C. Bilderbeek

See Also

to check for equality, use are_equal_xml_files

Examples

Run this code
check_empty_beautier_folder()

are_equivalent_xml_files(
  filename_1 = get_beautier_path("2_4.xml"),
  filename_2 = get_beautier_path("2_6_0.xml")
)

check_empty_beautier_folder()

Run the code above in your browser using DataLab