You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can get href : /rpms/asciidoc using following code:
let hrefs = iter.filter_map(|item| match item {
Node::Element(ref element) if element.name == "a" => element.attributes["href"].clone(),
_ => None,
});
but I also want to get this line: " Text based document generation "
I try this but not work, could you tell me how to modify it?
let hrefs = iter.filter_map(|item| match item {
Node::Element(ref element) if element.name == "div" => element.attributes["title"].clone(),
_ => None,
});
Thanks so much
The text was updated successfully, but these errors were encountered:
Here is some part of my html file:
I can get href : /rpms/asciidoc using following code:
but I also want to get this line: " Text based document generation "
I try this but not work, could you tell me how to modify it?
Thanks so much
The text was updated successfully, but these errors were encountered: