nxmls!() { /* proc-macro */ }
Creates a list of Element from an XML-like syntax.
Element
This is equivalent to calling nxml! multiple times inside of a vec! macro (or doing nxml!(<root>...</root>).children).
nxml!
vec!
nxml!(<root>...</root>).children
let elements = nxmls!(<a/><b/><c/>); assert_eq!(elements.len(), 3);