pub fn parse<L, N: Node>(doc: N, input: &str, r: Option<L>) -> Result<N, Error>where L: FnMut(&NamespacePrefix) -> Result<NamespaceUri, ParseError>,