408件ヒット
[1-100件を表示]
(0.152秒)
ライブラリ
-
net
/ imap (24) - pstore (36)
- psych (36)
-
rexml
/ document (228) -
rexml
/ streamlistener (36) - rss (24)
クラス
-
Net
:: IMAP (12) -
Net
:: IMAP :: ThreadMember (12) - PStore (36)
-
Psych
:: Nodes :: Document (12) -
Psych
:: Nodes :: Node (12) -
Psych
:: TreeBuilder (12) -
RDoc
:: Options (24) -
REXML
:: Attributes (24) -
REXML
:: CData (24) -
REXML
:: DocType (24) -
REXML
:: Document (12) -
REXML
:: Element (96) -
REXML
:: Elements (48)
モジュール
-
REXML
:: StreamListener (36) -
RSS
:: RootElementMixin (24)
キーワード
- [] (12)
- []= (12)
-
add
_ attribute (24) -
add
_ element (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)
-
output
_ encoding (12) -
output
_ encoding= (12) - public (12)
- root= (12)
-
root
_ node (12) - seqno (12)
- setquota (12)
- system (12)
- tag (12)
-
to
_ s (12) - transaction (12)
- value (12)
検索結果
先頭5件
-
Psych
:: Nodes :: Document # root -> Psych :: Nodes :: Node (21302.0) -
ルートノードを返します。
ルートノードを返します。 -
Psych
:: TreeBuilder # root -> Psych :: Nodes :: Stream (21218.0) -
AST の root を返します。
...AST の root を返します。
@see Psych::Nodes::Stream... -
RDoc
:: Options # root -> Pathname (21118.0) -
コマンドライン引数の --root オプションで指定したディレクトリを返します。
...コマンドライン引数の --root オプションで指定したディレクトリを返します。
指定されていない場合はカレントディレクトリを返します。... -
REXML
:: Document # root -> REXML :: Element | nil (21102.0) -
文書のルート要素を返します。
文書のルート要素を返します。
文書がルート要素を持たない場合は nil を返します。 -
REXML
:: Element # root _ node -> REXML :: Document | REXML :: Node (12338.0) -
self が属する文書のルートノードを返します。
...::Document) オブジェクトが
返されます。
その要素が属する REXML::Document オブジェクトが存在しない
場合は木構造上のルートノードが返されます。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root>
<children>
<grandc......hildren />
</children>
</root>
EOS
children = doc.get_elements("/root/children").first
children.name # => "children"
children.root_node == doc # => true
grandchildren = doc.get_elements("/root/children/grandchildren").first
grandchildren.name # => "grandchildren"
grandchildren.root_node == doc # =>... -
RDoc
:: Options # root=(val) (9118.0) -
コマンドライン引数の --root オプションと同様の指定を行います。
...コマンドライン引数の --root オプションと同様の指定を行います。
@param val パスを文字列で指定します。... -
RSS
:: RootElementMixin # output _ encoding (9101.0) -
@todo
...@todo... -
RSS
:: RootElementMixin # output _ encoding= (9101.0) -
@todo
...@todo... -
REXML
:: Element # add _ attribute(attr) -> () (6149.0) -
要素の属性を追加します。 同じ名前の属性がすでにある場合はその属性を新しい 属性で置き換えます。
...alized な文字列を渡す必要があります。
@param key 属性名(文字列)
@param value 属性値(文字列)
@param attr 属性(REXML::Attribute オブジェクト)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<e/>")
doc.root.add_attribute("a", "b"); doc.root # =......> <e a='b'/>
doc.root.add_attribute("x:a", "c"); doc.root # => <e a='b' x:a='c'/>
doc.root.add_attribute(REXML::Attribute.new("b", "d"))
doc.root # => <e a='b' x:a='c' b='d'/>
//}...