Skip to main content

following_node

Function following_node 

Source
pub fn following_node<N: DomNavigator>(a: &N, b: &N) -> bool
Expand description

Check if node a follows node b in document order.

This implements the XPath >> operator.

§Arguments

  • a - First node
  • b - Second node

§Returns

true if a follows b in document order.