120件ヒット
[101-120件を表示]
(0.122秒)
別のキーワード
ライブラリ
-
rexml
/ document (96) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (12)
クラス
-
REXML
:: Attribute (36) -
REXML
:: Attributes (12) -
REXML
:: DocType (12) -
REXML
:: Element (36)
モジュール
-
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (12)
キーワード
-
add
_ attributes (12) - attlistdecl (12)
-
attributes
_ of (12) - delete (12)
-
has
_ attributes? (12) - namespace (12)
- prefix (12)
-
start
_ element (12) -
to
_ string (12)
検索結果
-
REXML
:: Attribute # prefix -> String (19.0) -
属性の名前空間を返します。
...ます。
//emlist[][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... -
REXML
:: Attribute # to _ string -> String (13.0) -
"name='value'" という形式の文字列を返します。
..."name='value'" という形式の文字列を返します。
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("el")
e.add_attribute("ns:r", "rval")
p e.attributes.get_attribute("r").to_string # => "ns:r='rval'"
//}...