るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.022秒)
トップページ > バージョン:2.3.0[x] > 種類:クラス[x] > ライブラリ:rexml[x] > クエリ:Instruction[x]

別のキーワード

  1. instruction ==
  2. instruction new
  3. instruction clone
  4. rexml instruction
  5. instruction target

検索結果

REXML::Instruction (54055.0)

XML 処理命令(XML Processing Instruction, XML PI)を表すクラス。

...<?xml version=... ?>)はXML処理命令ではありませんが、
似た見た目を持っています。

//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<root />
EOS
doc[2] # =...

REXML::Document (25.0)

XMLの完全な文書(ドキュメント)を表すクラス。

...どを含んでいます。
ドキュメントは直下の子ノードをただ一つ持っています(rootと呼び、
REXML
::Document#root でアクセスできます)。
2つ目の要素を(REXML::Element#add_elementなどで)追加しようとすると
例外(RuntimeError)が発生します。...