diff options
Diffstat (limited to 'lib/rexml/xpath.rb')
-rw-r--r-- | lib/rexml/xpath.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/rexml/xpath.rb b/lib/rexml/xpath.rb index a8952ff473..0f99808def 100644 --- a/lib/rexml/xpath.rb +++ b/lib/rexml/xpath.rb @@ -12,12 +12,12 @@ module REXML # Finds and returns the first node that matches the supplied xpath. # element:: - # The context element + # The context element # path:: - # The xpath to search for. If not supplied or nil, returns the first - # node matching '*'. + # The xpath to search for. If not supplied or nil, returns the first + # node matching '*'. # namespaces:: - # If supplied, a Hash which defines a namespace mapping. + # If supplied, a Hash which defines a namespace mapping. # variables:: # If supplied, a Hash which maps $variables in the query # to values. This can be used to avoid XPath injection attacks @@ -45,7 +45,7 @@ module REXML # path:: # The xpath to search for. If not supplied or nil, defaults to '*' # namespaces:: - # If supplied, a Hash which defines a namespace mapping + # If supplied, a Hash which defines a namespace mapping # variables:: # If supplied, a Hash which maps $variables in the query # to values. This can be used to avoid XPath injection attacks |