2651件ヒット
[1-100件を表示]
(0.108秒)
別のキーワード
ライブラリ
-
rexml
/ document (2651)
クラス
-
REXML
:: AttlistDecl (66) -
REXML
:: Attribute (154) -
REXML
:: Attributes (165) -
REXML
:: CData (33) -
REXML
:: Child (110) -
REXML
:: Comment (77) -
REXML
:: Declaration (22) -
REXML
:: DocType (176) -
REXML
:: Document (154) -
REXML
:: Element (462) -
REXML
:: Elements (143) -
REXML
:: Entity (110) -
REXML
:: ExternalEntity (22) -
REXML
:: Formatters :: Default (11) -
REXML
:: Formatters :: Pretty (44) -
REXML
:: Instruction (77) -
REXML
:: NotationDecl (77) -
REXML
:: Parent (308) -
REXML
:: Text (110) -
REXML
:: XMLDecl (165)
モジュール
-
REXML
:: Namespace (88) -
REXML
:: Node (77)
キーワード
- << (44)
- <=> (22)
- == (44)
- [] (44)
- []= (55)
- add (55)
-
add
_ attribute (22) -
add
_ attributes (11) -
add
_ element (11) -
add
_ namespace (22) - attribute (11)
-
attribute
_ of (11) - attributes (11)
-
attributes
_ of (11) - bytes (11)
- cdatas (11)
- children (11)
- clone (99)
- collect (11)
- comments (11)
- compact (11)
- compact= (11)
- content (11)
- content= (11)
- context (22)
- context= (11)
-
deep
_ clone (11) - delete (33)
-
delete
_ all (22) -
delete
_ at (11) -
delete
_ attribute (11) -
delete
_ element (11) -
delete
_ if (22) -
delete
_ namespace (11) - doctype (22)
- document (22)
- dowrite (11)
- each (55)
-
each
_ attribute (11) -
each
_ child (22) -
each
_ element (11) -
each
_ element _ with _ attribute (11) -
each
_ element _ with _ text (11) -
each
_ index (22) -
each
_ recursive (11) - element (11)
- element= (11)
-
element
_ name (11) - elements (11)
- empty? (22)
- encoding (22)
- encoding= (11)
- entities (11)
- entity (11)
- external (11)
-
external
_ id (11) -
find
_ first _ recursive (11) -
get
_ attribute (11) -
get
_ attribute _ ns (11) -
get
_ elements (11) -
get
_ text (11) -
has
_ attributes? (11) -
has
_ elements? (11) -
has
_ name? (11) -
has
_ text? (11) - include? (11)
- index (22)
-
index
_ in _ parent (11) - inject (11)
-
insert
_ after (11) -
insert
_ before (11) - instructions (11)
- length (22)
-
local
_ name (11) - name (55)
- name= (11)
- namespace (22)
- namespaces (33)
- ndata (11)
-
next
_ element (11) -
next
_ sibling (11) -
next
_ sibling= (11) -
next
_ sibling _ node (11) -
node
_ type (99) - normalized (11)
- normalized= (11)
- notation (11)
- notations (11)
- nowrite (11)
- parent (11)
- parent= (11)
- parent? (22)
- prefix (22)
- prefix= (11)
- prefixes (22)
-
previous
_ element (11) -
previous
_ sibling (11) -
previous
_ sibling= (11) -
previous
_ sibling _ node (11) - pubid (11)
- public (22)
- public= (11)
- push (11)
- raw (22)
- raw= (11)
- ref (11)
- remove (22)
-
replace
_ child (11) -
replace
_ with (11) - root (22)
-
root
_ node (11) - size (33)
-
stand
_ alone? (22) - standalone (11)
- standalone= (11)
- string (11)
- string= (11)
- system (22)
- system= (11)
- target (11)
- target= (11)
- text (11)
- text= (11)
- texts (11)
-
to
_ a (33) -
to
_ s (99) -
to
_ string (11) - unnormalized (11)
- unshift (11)
- value (44)
- value= (11)
- version (22)
- version= (11)
- whitespace (11)
- width (11)
- width= (11)
- write (121)
- writeencoding (11)
- writethis (11)
-
xml
_ decl (11) - xmldecl (11)
- xpath (22)
検索結果
先頭5件
-
REXML
:: Attribute # namespace(arg = nil) -> String | nil (8007.0) -
属性の名前空間の URI を返します。
...間でなく、arg という名前空間
の URI が返されます。
通常は省略します。
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("el")
e.add_attribute("xmlns:ns", "http://www.example.com/ns")
e.add_attribute("ns:r", "rval")
p e.attributes.get_attrib... -
REXML
:: Attribute # prefix -> String (8007.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 # -> "... -
REXML
:: Attribute # to _ string -> String (8007.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
:: Attributes # [](name) -> String | nil (8007.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) (8007.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 # delete(attribute) -> REXML :: Element (8007.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... -
REXML
:: Attributes # delete _ all(name) -> [REXML :: Attribute] (8007.0) -
name という名前を持つ属性をすべて削除します。
...て削除します。
削除された属性を配列で返します。
@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 # each {|name , value| . . . } -> () (8007.0) -
各属性の名前と値に対しブロックを呼び出します。
...ックを呼び出します。
名前には expanded_name(REXML::Namespace#exapnded_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 # each _ attribute {|attribute| . . . } -> () (8007.0) -
各属性に対しブロックを呼び出します。
...ブロックを呼び出します。
個々の属性は 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:att=... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (8007.0) -
name という名前の属性を取得します。
...持つ属性がない場合は nil を返します。
@param name 属性名(文字列)
@see REXML::Attributes#[]
//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...