66件ヒット
[1-66件を表示]
(0.696秒)
クラス
-
REXML
:: Document (33) -
REXML
:: XMLDecl (33)
キーワード
- encoding (11)
-
stand
_ alone? (22) - version (11)
- xmldecl (11)
検索結果
先頭5件
-
REXML
:: XMLDecl # standalone -> String | nil (21404.0) -
スタンドアロン文書であるかどうかを "yes" "no" で 返します。
...スタンドアロン文書であるかどうかを "yes" "no" で
返します。
nil(省略)を返す場合もあります。... -
REXML
:: Document # encoding -> String (9421.0) -
XML 宣言に含まれている XML 文書のエンコーディングを返します。
...宣言を持たない場合はデフォルトの値
(REXML::XMLDecl.defaultで宣言されているもの)を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<e />
EOS
doc.encoding # => "UTF-8"
//}... -
REXML
:: Document # version -> String (9315.0) -
XML 宣言に含まれている XML 文書のバージョンを返します。
...XML 宣言を持たない場合はデフォルトの値
(REXML::XMLDecl.defaultで宣言されているもの)を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<e />
EOS
doc.version # => "1.0"
//}... -
REXML
:: Document # stand _ alone? -> String (6331.0) -
XML 宣言の standalone の値を文字列で返します。
...XML 宣言の standalone の値を文字列で返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<e />
EOS
doc.stand_alone? # => "yes"
//}... -
REXML
:: XMLDecl # stand _ alone? -> String | nil (6304.0) -
スタンドアロン文書であるかどうかを "yes" "no" で 返します。
...スタンドアロン文書であるかどうかを "yes" "no" で
返します。
nil(省略)を返す場合もあります。... -
REXML
:: XMLDecl # xmldecl(version , encoding , standalone) -> () (410.0) -
内容を更新します。
...内容を更新します。
@param version バージョン(文字列)
@param encoding エンコーディング(文字列 or nil)
@param standalone スタンドアロン文章かどうか("yes", "no", nil)...