408件ヒット
[401-408件を表示]
(0.115秒)
ライブラリ
-
net
/ imap (36) - pstore (48)
-
rexml
/ document (252) -
rexml
/ streamlistener (36) -
rubygems
/ security (12) -
rubygems
/ server (12)
クラス
-
Gem
:: Security :: Policy (12) -
Gem
:: Server (12) -
Net
:: IMAP (36) - PStore (48)
-
RDoc
:: Options (12) -
REXML
:: Attributes (60) -
REXML
:: Element (132) -
REXML
:: Elements (60)
モジュール
キーワード
- [] (24)
- []= (12)
-
add
_ attribute (24) -
add
_ element (12) - attribute (12)
- delete (36)
-
delete
_ all (12) -
delete
_ element (12) -
delete
_ namespace (12) - doctype (12)
- each (12)
-
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) - elementdecl (12)
- entitydecl (12)
- fetch (12)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ text (12) - getquota (12)
- getquotaroot (12)
- root= (12)
- root? (12)
- setquota (12)
- text (12)
- text= (12)
-
to
_ a (12) - transaction (12)
-
verify
_ root= (12)
検索結果
-
REXML
:: Attributes # [](name) -> String | nil (3125.0) -
属性名nameの属性値を返します。
...ttribute オブジェクトが必要な場合は
REXML::Attributes#get_attribute を使ってください。
nameという属性名の属性がない場合は nil を返します。
@param name 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root......xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").first
p a.attributes["att"] # => "<"
p a.attributes["bar:att"] # => "2"
//}...