[][src]Function simple_xml::new

pub fn new(tag: &str, content: String) -> Node

Creates a new empty node Nodes and attributes can be added later Content is taken owned as to avoid large copy Tag is not taken owned as it is most often a string literal