るりまサーチ

最速Rubyリファレンスマニュアル検索!
240件ヒット [1-100件を表示] (0.090秒)

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. t61string new
  4. matrix t
  5. fiddle align_ssize_t

検索結果

<< 1 2 3 > >>

REXML::Document#name -> String (21313.0)

""(空文字列)を返します。

...""(空文字列)を返します。

XMLの仕様上、このオブジェクトはexpanded name名前を持ちえません。...

REXML::DocType#name -> String (21311.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::Namespace#name -> String (21307.0)

prefix を含まない「ローカルな」名前を返します。

prefix を含まない「ローカルな」名前を返します。

REXML::Entity#name -> String (21305.0)

実体の名前を返します。

実体の名前を返します。

REXML::NotationDecl#name -> String (21305.0)

記法宣言の名前を返します。

記法宣言の名前を返します。

絞り込み条件を変える

REXML::Attribute#to_string -> String (12327.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::AttlistDecl#element_name -> String (12305.0)

属性を定義しているエレメントの名前を返します。

属性を定義しているエレメントの名前を返します。

REXML::Attributes#namespaces -> { String => String } (9505.0)

self の中で宣言されている名前空間の集合を返します。

...ist[][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='2' att='&lt;'/>
</root>
EOS
a = doc.get_elements("/root/a").first

p doc.root.attributes.namespaces
# => {"foo"=>"http:...
...//example.org/foo", "bar"=>"http://example.org/bar"}
p a.attributes.namespaces
# => {}
//}...

REXML::Element#namespaces -> {String => String} (9505.0)

self の文脈で定義されている名前空間の情報を返します。

...義されている名前空間を、{ prefix => 識別子 }
というハッシュテーブルで返します。

//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<a xmlns:x='1' xmlns:y='2'><b/><c xmlns:z='3'/></a>")
doc.elements['//b'].namespaces # => {"x"=>"1", "y"=>"2"}
//}...
<< 1 2 3 > >>