1068件ヒット
[1-100件を表示]
(0.020秒)
別のキーワード
クラス
-
REXML
:: AttlistDecl (24) -
REXML
:: Attribute (48) -
REXML
:: Attributes (84) -
REXML
:: Child (48) -
REXML
:: Comment (12) -
REXML
:: Declaration (12) -
REXML
:: DocType (60) -
REXML
:: Document (24) -
REXML
:: Element (228) -
REXML
:: Elements (132) -
REXML
:: Entity (12) -
REXML
:: ExternalEntity (12) -
REXML
:: Formatters :: Default (12) -
REXML
:: Formatters :: Pretty (24) -
REXML
:: Instruction (36) -
REXML
:: NotationDecl (36) -
REXML
:: Parent (132) -
REXML
:: Text (24) -
REXML
:: XMLDecl (60)
モジュール
-
REXML
:: Namespace (36) -
REXML
:: Node (12)
キーワード
- << (36)
- <=> (12)
- == (24)
- [] (24)
- []= (48)
- add (48)
-
add
_ attribute (24) -
add
_ attributes (12) -
add
_ element (12) -
add
_ namespace (24) - attribute (12)
-
attribute
_ of (12) - collect (12)
- compact= (12)
- content= (12)
- context= (12)
- delete (36)
-
delete
_ all (24) -
delete
_ attribute (12) -
delete
_ element (12) -
delete
_ namespace (12) - each (12)
-
each
_ element (12) -
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) - element= (12)
- encoding= (12)
- entity (12)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ elements (12) -
get
_ text (12) -
has
_ name? (12) - include? (12)
- index (12)
- inject (12)
-
insert
_ after (12) -
insert
_ before (12) - name= (12)
- namespace (12)
-
next
_ sibling= (12) - normalized= (12)
- notation (12)
- parent= (12)
- prefix= (12)
-
previous
_ sibling= (12) - public= (12)
- push (12)
- raw= (12)
-
replace
_ child (12) -
replace
_ with (12) - standalone= (12)
- string= (12)
- system= (12)
- target= (12)
- text (12)
- text= (12)
-
to
_ a (12) -
to
_ s (12) - unshift (12)
- version= (12)
- width= (12)
- write (132)
- xmldecl (12)
検索結果
先頭5件
-
REXML
:: Parent # []=(index , node) (33.0) -
子ノード列上の指定した場所を node で置き換えます。
...de で置き換えます。
Array#[]= と同じ指定が可能です。
@param index 変更場所の index (Integer)
@param range 変更場所の範囲 (Range)
@param start 変更範囲の最初の位置 (Integer)
@param length 変更範囲の個数 (Integer)
@param node 置き換えるノード... -
REXML
:: Parent # []=(range , node) (33.0) -
子ノード列上の指定した場所を node で置き換えます。
...de で置き換えます。
Array#[]= と同じ指定が可能です。
@param index 変更場所の index (Integer)
@param range 変更場所の範囲 (Range)
@param start 変更範囲の最初の位置 (Integer)
@param length 変更範囲の個数 (Integer)
@param node 置き換えるノード... -
REXML
:: Parent # []=(start , length , node) (33.0) -
子ノード列上の指定した場所を node で置き換えます。
...de で置き換えます。
Array#[]= と同じ指定が可能です。
@param index 変更場所の index (Integer)
@param range 変更場所の範囲 (Range)
@param start 変更範囲の最初の位置 (Integer)
@param length 変更範囲の個数 (Integer)
@param node 置き換えるノード... -
REXML
:: DocType # write(output , indent = 0 , transitive = false , ie _ hack = false) -> () (27.0) -
output に DTD を出力します。
...XML::Formatter で
出力してください。
@param output 出力先の IO オブジェクト
@param indent インデントの深さ。指定しないでください。
@param transitive 無視されます。指定しないでください。
@param ie_hack 無視されます。指定しないで... -
REXML
:: Document # write(output = $ stdout , indent = -1 , transitive = false , ie _ hack = false , encoding=nil) -> () (27.0) -
output に XML 文書を出力します。
...キーワード引数による引数指定が可能です。
@param output 出力先(IO のように << で書き込めるオブジェクト)
@param indent インデントのスペースの数(-1 だとインデントしない)
@param transitive XMLではインデントのスペースでDOMが変......これに真を渡すと、XMLのDOMに余計な要素が加わらないように
空白の出力を適当に抑制するようになる
@param ie_hack IEはバージョンによってはXMLをちゃんと解釈できないので、
それに対応したXMLを出力するかどう... -
REXML
:: Document # write(output: $ stdout , indent: -1 , transitive: false , ie _ hack: false , encoding: nil) -> () (27.0) -
output に XML 文書を出力します。
...キーワード引数による引数指定が可能です。
@param output 出力先(IO のように << で書き込めるオブジェクト)
@param indent インデントのスペースの数(-1 だとインデントしない)
@param transitive XMLではインデントのスペースでDOMが変......これに真を渡すと、XMLのDOMに余計な要素が加わらないように
空白の出力を適当に抑制するようになる
@param ie_hack IEはバージョンによってはXMLをちゃんと解釈できないので、
それに対応したXMLを出力するかどう... -
REXML
:: Element # each _ element _ with _ attribute(key , value = nil , max = 0 , name = nil) {|element| . . . } -> () (27.0) -
特定の属性を持つすべての子要素を引数としてブロックを呼び出します。
...されます(0個ではありません)。
@param key 属性名(文字列)
@param value 属性値(文字列)
@param max ブロック呼出の対象とする子要素の最大個数
@param name xpath文字列
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<a><b id='1'/><c id=... -
REXML
:: Element # write(output = $ stdout , indent = -1 , transitive = false , ie _ hack = false) (27.0) -
このメソッドは deprecated です。 REXML::Formatter を代わりに 使ってください。
...列化したものを(子要素を含め)出力します。
@param output 出力先(IO のように << で書き込めるオブジェクト)
@param indent インデントのスペースの数(-1 だとインデントしない)
@param transitive XMLではインデントのスペースでDOMが変化......これに真を渡すと、XMLのDOMに余計な要素が加わらないように
空白の出力を適当に抑制するようになる
@param ie_hack IEはバージョンによってはXMLをちゃんと解釈できないので、
それに対応したXMLを出力するかどう... -
REXML
:: Element # add _ attribute(attr) -> () (21.0) -
要素の属性を追加します。 同じ名前の属性がすでにある場合はその属性を新しい 属性で置き換えます。
...値は unnormalized な文字列を渡す必要があります。
@param key 属性名(文字列)
@param value 属性値(文字列)
@param attr 属性(REXML::Attribute オブジェクト)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<e/>")
doc.root.add_attribute("a", "b");...