24件ヒット
[1-24件を表示]
(0.162秒)
別のキーワード
ライブラリ
- json (12)
-
rexml
/ document (12)
クラス
-
JSON
:: State (12) -
REXML
:: Attributes (12)
検索結果
-
REXML
:: Attributes # []=(name , value) (21101.0) -
指定した属性を更新します。
.../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
a.attributes["att"] = "9"
a.attributes["foo:attt"] = "8"
a # => <a foo:att='1' bar:att='2' att='9' foo:attt='8'/>
//}
@see REXML::Attributes#add... -
JSON
:: State # []=(name , value) (18117.0) -
Set the attribute name to value.
...Set the attribute name to value....