find_real_root_name: Get the real 'QName' for the root element, including its...

View source: R/eml_validate.R

find_real_root_nameR Documentation

Get the real QName for the root element, including its prefix

Description

Note that if a default namespace is used, the prefix will be d1.

Usage

find_real_root_name(doc)

Arguments

doc

An xml_document

Value

A list with elements prefix and name. prefix will be NULL if the element has no namespace prefix but name will always be a character.


emld documentation built on Nov. 21, 2025, 9:06 a.m.