pub fn get_node_text_content(node: &NodeData) -> Option<&str>
Get the text content from a NodeData if it’s a Text node.
Returns the text string if the node is NodeType::Text, otherwise None.
NodeType::Text
None