るりまサーチ

最速Rubyリファレンスマニュアル検索!
636件ヒット [601-636件を表示] (0.013秒)
トップページ > クエリ:root[x] > ライブラリ:rexml/document[x]

別のキーワード

  1. pstore root?
  2. document root
  3. psych root
  4. pathname root?
  5. rexml/document root

検索結果

<< < ... 5 6 7 >>

REXML::Instruction (8.0)

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

...が、
似た見た目を持っています。

//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] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-styleshe...

REXML::Instruction#content -> String | nil (8.0)

XML 処理命令の内容を返します。

...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"?>
<?foobar?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-...

REXML::Instruction#target -> String (8.0)

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] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-styles...
<< < ... 5 6 7 >>