22件ヒット
[1-22件を表示]
(0.112秒)
別のキーワード
ライブラリ
-
rexml
/ document (22)
検索結果
-
REXML
:: Attribute # node _ type -> Symbol (6102.0) -
「:attribute」というシンボルを返します。
「:attribute」というシンボルを返します。 -
REXML
:: Attribute # prefix -> String (8.0) -
属性の名前空間を返します。
...st[][ruby]{
require 'rexml/document'
e = REXML::Element.new( "elns:myelement" )
e.add_attribute( "nsa:a", "aval" )
e.add_attribute( "b", "bval" )
p e.attributes.get_attribute( "a" ).prefix # -> "nsa"
p e.attributes.get_attribute( "b" ).prefix # -> "elns"
a = REXML::Attribute.new( "x", "y" )
p a....