pub fn previous_sibling( doc: &BaseDocument, node: NodeId, ) -> Result<Option<NodeId>>
node.previousSibling.
node.previousSibling