2892件ヒット
[201-300件を表示]
(0.016秒)
クラス
-
REXML
:: AttlistDecl (72) -
REXML
:: Attribute (168) -
REXML
:: Attributes (180) -
REXML
:: CData (36) -
REXML
:: Child (120) -
REXML
:: Comment (84) -
REXML
:: Declaration (24) -
REXML
:: DocType (192) -
REXML
:: Document (168) -
REXML
:: Element (504) -
REXML
:: Elements (156) -
REXML
:: Entity (120) -
REXML
:: ExternalEntity (24) -
REXML
:: Formatters :: Default (12) -
REXML
:: Formatters :: Pretty (48) -
REXML
:: Instruction (84) -
REXML
:: NotationDecl (84) -
REXML
:: Parent (336) -
REXML
:: Text (120) -
REXML
:: XMLDecl (180)
モジュール
-
REXML
:: Namespace (96) -
REXML
:: Node (84)
キーワード
- << (48)
- <=> (24)
- == (48)
- [] (48)
- []= (60)
- add (60)
-
add
_ attribute (24) -
add
_ attributes (12) -
add
_ element (12) -
add
_ namespace (24) - attribute (12)
-
attribute
_ of (12) - attributes (12)
-
attributes
_ of (12) - bytes (12)
- cdatas (12)
- children (12)
- clone (108)
- collect (12)
- comments (12)
- compact (12)
- compact= (12)
- content (12)
- content= (12)
- context (24)
- context= (12)
-
deep
_ clone (12) - delete (36)
-
delete
_ all (24) -
delete
_ at (12) -
delete
_ attribute (12) -
delete
_ element (12) -
delete
_ if (24) -
delete
_ namespace (12) - doctype (24)
- document (24)
- dowrite (12)
- each (60)
-
each
_ attribute (12) -
each
_ child (24) -
each
_ element (12) -
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) -
each
_ index (24) -
each
_ recursive (12) - element (12)
- element= (12)
-
element
_ name (12) - elements (12)
- empty? (24)
- encoding (24)
- encoding= (12)
- entities (12)
- entity (12)
- external (12)
-
external
_ id (12) -
find
_ first _ recursive (12) -
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ elements (12) -
get
_ text (12) -
has
_ attributes? (12) -
has
_ elements? (12) -
has
_ name? (12) -
has
_ text? (12) - include? (12)
- index (24)
-
index
_ in _ parent (12) - inject (12)
-
insert
_ after (12) -
insert
_ before (12) - instructions (12)
- length (24)
-
local
_ name (12) - name (60)
- name= (12)
- namespace (24)
- namespaces (36)
- ndata (12)
-
next
_ element (12) -
next
_ sibling (12) -
next
_ sibling= (12) -
next
_ sibling _ node (12) -
node
_ type (108) - normalized (12)
- normalized= (12)
- notation (12)
- notations (12)
- nowrite (12)
- parent (12)
- parent= (12)
- parent? (24)
- prefix (24)
- prefix= (12)
- prefixes (24)
-
previous
_ element (12) -
previous
_ sibling (12) -
previous
_ sibling= (12) -
previous
_ sibling _ node (12) - pubid (12)
- public (24)
- public= (12)
- push (12)
- raw (24)
- raw= (12)
- ref (12)
- remove (24)
-
replace
_ child (12) -
replace
_ with (12) - root (24)
-
root
_ node (12) - size (36)
-
stand
_ alone? (24) - standalone (12)
- standalone= (12)
- string (12)
- string= (12)
- system (24)
- system= (12)
- target (12)
- target= (12)
- text (12)
- text= (12)
- texts (12)
-
to
_ a (36) -
to
_ s (108) -
to
_ string (12) - unnormalized (12)
- unshift (12)
- value (48)
- value= (12)
- version (24)
- version= (12)
- whitespace (12)
- width (12)
- width= (12)
- write (132)
- writeencoding (12)
- writethis (12)
-
xml
_ decl (12) - xmldecl (12)
- xpath (24)
検索結果
先頭5件
-
REXML
:: Attribute # to _ string -> String (3.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'"
//}... -
REXML
:: Attribute # value -> String (3.0) -
正規化されていない属性値を返します。
正規化されていない属性値を返します。
属性値の正規化については XML の仕様を参考にしてください。 -
REXML
:: Attribute # write(output , indent = -1) -> object (3.0) -
output に self の情報を name='value' という形式で書き込みます。
output に self の情報を name='value' という形式で書き込みます。
output が返ります。
@param output 書き込み先の IO オブジェクト
@param indent インデントレベル、ここでは無視される -
REXML
:: Attribute # xpath -> String (3.0) -
その属性を指定する xpath 文字列を返します。
その属性を指定する xpath 文字列を返します。
例えば "/foo/bar/@ns:r" という文字列を返します。 -
REXML
:: Attributes # <<(attribute) -> () (3.0) -
属性を追加/更新します。
属性を追加/更新します。
attribute で更新する属性(REXML::Attribute オブジェクト)を
指定します。既に同じ名前(REXML::Attribute#name)のオブジェクトが
存在する場合は属性が上書きされ、ない場合は追加されます。
@param attribute 追加(更新)する属性(REXML::Attribute オブジェクト)
@see REXML::Attributes#[]= -
REXML
:: Attributes # [](name) -> String | nil (3.0) -
属性名nameの属性値を返します。
...い。
nameという属性名の属性がない場合は nil を返します。
@param name 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att... -
REXML
:: Attributes # []=(name , value) (3.0) -
指定した属性を更新します。
...同じ名前の属性がある場合は上書きされ、
そうでない場合は属性が追加されます。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att=... -
REXML
:: Attributes # add(attribute) -> () (3.0) -
属性を追加/更新します。
属性を追加/更新します。
attribute で更新する属性(REXML::Attribute オブジェクト)を
指定します。既に同じ名前(REXML::Attribute#name)のオブジェクトが
存在する場合は属性が上書きされ、ない場合は追加されます。
@param attribute 追加(更新)する属性(REXML::Attribute オブジェクト)
@see REXML::Attributes#[]= -
REXML
:: Attributes # delete(attribute) -> REXML :: Element (3.0) -
指定した属性を取り除きます。
...を返します。
@param attribute 取り除く属性(文字列もしくは REXML::Attribute オブジェクト)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:at...