121件ヒット
[1-100件を表示]
(0.188秒)
ライブラリ
-
rexml
/ document (33) - rss (44)
-
rubygems
/ specification (44)
クラス
-
Gem
:: Specification (44) -
REXML
:: DocType (33) -
RSS
:: Maker :: ItemsBase :: ItemBase (22) -
RSS
:: Rss :: Channel :: Item (22)
キーワード
-
attribute
_ of (11) -
attributes
_ of (11) - write (11)
検索結果
先頭5件
-
RSS
:: Maker :: ItemsBase :: ItemBase # author (24203.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item # author (24203.0) -
@todo
@todo -
Gem
:: Specification # author -> String (24202.0) -
作成者の名前を返します。
作成者の名前を返します。 -
RSS
:: Maker :: ItemsBase :: ItemBase # author=() (12203.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item # author= (12203.0) -
@todo
@todo -
Gem
:: Specification # author=(name) (12202.0) -
作成者の名前をセットします。
作成者の名前をセットします。 -
Gem
:: Specification # authors -> Array (12201.0) -
作成者の名前の配列を返します。
作成者の名前の配列を返します。 -
Gem
:: Specification # authors=(names) (12201.0) -
作成者の名前の配列をセットします。
作成者の名前の配列をセットします。 -
REXML
:: DocType # attributes _ of(element) -> [REXML :: Attribute] (6219.0) -
DTD 内の属性リスト宣言で、 element という名前の要素に対し宣言されている 属性の名前とデフォルト値を REXML::Attribute の配列で返します。
...ト値を REXML::Attribute の配列で返します。
名前とデフォルト値のペアは、各 Attribute オブジェクトの
REXML::Attribute#name と
REXML::Attribute#value で表現されます。
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!......TLIST book
author CDATA #REQUIRED
title CDATA #REQUIRED
publisher CDATA "foobar publisher">
]>
EOS
p doctype.attributes_of("book")
# => [author='', title='', publisher='foobar publisher']
p doctype.attributes_of("book")[0].name # => "author"
p doctype.attributes_of("bo......ok")[0].value # => ""
//}... -
REXML
:: DocType # attribute _ of(element , attribute) -> String | nil (6207.0) -
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という 名前の属性のデフォルト値を返します。
...宣言で、 element という名前の要素の attribute という
名前の属性のデフォルト値を返します。
elementという名前の要素の属性値は宣言されていない、
elementという名前の要素にはattributeという名前の属性が宣言されていない、......ram attribute 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT book (comment)>
<!ELEMENT comment (#PCDATA)>
<!ATTLIST book
author CDATA #REQUIRED
title CDATA #REQUIRED
publisher CD......ATA "foobar publisher">
]>
EOS
p doctype.attribute_of("book", "publisher") # => "foobar publisher"
p doctype.attribute_of("bar", "foo") # => nil
p doctype.attribute_of("book", "baz") # => nil
p doctype.attribute_of("book", "title") # => nil
//}...