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 Jan. 16, 2026, 5:13 p.m.