Find the line number of the first section's opening tag

find_first_xml_opening_tag_line(lines, section)

Arguments

lines

the lines of an XML text

section

the name of the XML section

Value

the line number's index (which is 1 for the first line) if the opening tag is found, else NA

Author

Richèl J.C. Bilderbeek