671件ヒット
[1-100件を表示]
(0.087秒)
種類
- インスタンスメソッド (594)
- 特異メソッド (66)
- クラス (11)
クラス
-
REXML
:: AttlistDecl (22) -
REXML
:: Attribute (33) -
REXML
:: Attributes (110) -
REXML
:: DocType (77) -
REXML
:: Document (22) -
REXML
:: Element (121) -
REXML
:: Elements (11) -
REXML
:: Entity (44) -
REXML
:: NotationDecl (22) -
REXML
:: XPath (33)
モジュール
-
REXML
:: Namespace (66) -
REXML
:: SAX2Listener (44) -
REXML
:: StreamListener (55)
キーワード
- << (11)
- Entity (11)
- [] (22)
- []= (11)
- add (11)
-
add
_ attributes (11) -
add
_ namespace (11) - attlistdecl (11)
- attribute (11)
-
attributes
_ of (11) - clone (11)
-
delete
_ all (11) -
delete
_ namespace (11) - doctype (22)
- each (33)
-
each
_ attribute (11) -
each
_ element _ with _ attribute (11) -
each
_ element _ with _ text (11) -
element
_ name (11) -
end
_ element (11) - entity (11)
-
external
_ id (11) - first (11)
-
get
_ attribute (11) -
get
_ attribute _ ns (11) -
has
_ name? (11) - instruction (11)
-
local
_ name (11) - match (11)
- namespace (22)
- namespaces (33)
- ndata (11)
- new (33)
- notation (11)
- notationdecl (11)
- prefix (11)
- root (11)
-
root
_ node (11) -
start
_ element (11) -
tag
_ end (11) -
tag
_ start (11) -
to
_ string (11) - whitespace (11)
- write (11)
検索結果
先頭5件
-
REXML
:: Namespace # name -> String (24203.0) -
prefix を含まない「ローカルな」名前を返します。
prefix を含まない「ローカルな」名前を返します。 -
REXML
:: Document # name -> String (21209.0) -
""(空文字列)を返します。
...""(空文字列)を返します。
XMLの仕様上、このオブジェクトはexpanded name名前を持ちえません。... -
REXML
:: DocType # name -> String (21208.0) -
ルート要素名を返します。
...ルート要素名を返します。
//emlist[][ruby]{
document = REXML::Document.new(<<EOS)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
EOS
doctype = document.doctype
p doctype.name # => "html"
//}... -
REXML
:: Entity # name -> String (21202.0) -
実体の名前を返します。
実体の名前を返します。 -
REXML
:: NotationDecl # name -> String (21202.0) -
記法宣言の名前を返します。
記法宣言の名前を返します。 -
REXML
:: Namespace # local _ name -> String (15303.0) -
prefix を含まない「ローカルな」名前を返します。
prefix を含まない「ローカルな」名前を返します。 -
REXML
:: Namespace # fully _ expanded _ name -> String (15302.0) -
完全修飾名を返します。
完全修飾名を返します。 -
REXML
:: Element # delete _ namespace(namespace = "xmlns") -> self (12401.0) -
名前空間を要素から削除します。
...除します。
@param namespace 削除する名前空間の prefix
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new "<a xmlns:foo='bar' xmlns='twiddle'/>"
doc.root.delete_namespace
doc.to_s # => "<a xmlns:foo='bar'/>"
doc.root.delete_namespace 'foo'
doc.to_s # => "<a/>"
//}... -
REXML
:: Namespace # has _ name?(other , ns = nil) -> bool (12314.0) -
self が other と ns で指定した名前を持っているならば真を返します。
...self が other と ns で指定した名前を持っているならば真を返します。
ns が nil でない場合は名前空間も比較されます。
other が ":" を含んでいる(つまり prefix を含んでいる)場合は
REXML::Namespace#fully_expanded_name と other を比較しま......す。
どちらでもない場合は other と REXML::Namespace#name を直接
比較します。
@param other 比較する名前(文字列)
@param ns 比較する名前空間(文字列)... -
REXML
:: AttlistDecl # element _ name -> String (12302.0) -
属性を定義しているエレメントの名前を返します。
属性を定義しているエレメントの名前を返します。