504件ヒット
[501-504件を表示]
(0.062秒)
ライブラリ
-
rexml
/ document (504)
キーワード
-
add
_ attribute (24) -
add
_ attributes (12) -
add
_ element (12) -
add
_ namespace (24) - attribute (12)
- attributes (12)
- cdatas (12)
- clone (12)
- comments (12)
- context (12)
- context= (12)
-
delete
_ attribute (12) -
delete
_ element (12) -
delete
_ namespace (12) - document (12)
-
each
_ element (12) -
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) - elements (12)
-
get
_ elements (12) -
get
_ text (12) -
has
_ attributes? (12) -
has
_ elements? (12) -
has
_ text? (12) - instructions (12)
- namespace (12)
- namespaces (12)
-
next
_ element (12) -
node
_ type (12) - prefixes (12)
-
previous
_ element (12) - raw (12)
- root (12)
-
root
_ node (12) - text (12)
- text= (12)
- texts (12)
- whitespace (12)
- write (12)
- xpath (12)
検索結果
-
REXML
:: Element # xpath -> String (2.0) -
文書上の対象の要素にのみマッチする xpath 文字列を返します。
文書上の対象の要素にのみマッチする xpath 文字列を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new('<a><b/><c/></a>')
c = doc.root.elements[2] # <a> .. </a> の中の <c/> 要素
c # => <c/>
c.xpath # => "/a/c"
doc = REXML::Document.new('<a><b/><b/></a>')
b = doc.root.elements[2] # <a> .. </a> の中の2番目の <b...