Takes a define xml and returns a dataset with specifications for each variable. The variable will just be the variable, unless the specification for that variable differ between datasets

xml_to_var_spec(doc)

Arguments

doc

define xml document

Value

data frame with variable, length, label columns