pub fn text_content(doc: &BaseDocument, node: NodeId) -> Result<String>Expand description
node.textContent, concatenated over the subtree.
Owned, per the crate’s borrow discipline. text_content_into is the
variant that writes into a caller’s buffer instead.