xpath() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rexml/element.rb, line 538
    def xpath
      path_elements = []
      cur = self
      path_elements << __to_xpath_helper( self )
      while cur.parent
        cur = cur.parent
        path_elements << __to_xpath_helper( cur )
      end
      return path_elements.reverse.join( "/" )
    end
Register or log in to add new notes.