public void EmptyElements() { const string pre = "<root><parent></parent><parent></parent></root>"; const string post = "<root></root>"; const string xpath = "//parent"; var task = new Unwrap(); Run(pre, post, xpath, task); }
public void ElementHasAttributes() { const string pre = "<root><parent a=\"\" b=\"\">1</parent></root>"; const string post = "<root>1</root>"; const string xpath = "//parent"; var task = new Unwrap(); Run(pre, post, xpath, task); }