use nos::Document; fn main() { let document = Document::from( r#"
"#, ); let mut div = document.select("div.loginContent"); println!("{}", div.is("div")); println!("|{}|", div.text().trim()); div.remove(); println!("{}", document.html()); }