method

get_namespace

v1_9_2_180 - Show latest stable - Class: REXML::XPathParser
get_namespace( node, prefix )
private

Returns a String namespace for a node, given a prefix The rules are:

  1. Use the supplied namespace mapping first.

  2. If no mapping was supplied, use the context node to look up the namespace