$97 GRAYBYTE WORDPRESS FILE MANAGER $50

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/ruby18/share/ri/1.8/system/REXML/Document/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/REXML/Document//write-i.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Write the XML tree out, optionally with indent. This writes out the entire XML document, including XML declarations, doctype declarations, and processing instructions (if any are given).
- !ruby/struct:SM::Flow::P 
  body: A controversial point is whether Document should always write the XML declaration (<?xml version='1.0'?>) whether or not one is given by the user (or source document). REXML does not write one if one was not specified, because it adds unnecessary bandwidth to applications such as XML-RPC.
- !ruby/struct:SM::Flow::P 
  body: See also the classes in the rexml/formatters package for the proper way to change the default formatting of XML output
- !ruby/struct:SM::Flow::P 
  body: <em>Examples</em>
- !ruby/struct:SM::Flow::VERB 
  body: "  Document.new(&quot;&lt;a&gt;&lt;b/&gt;&lt;/a&gt;&quot;).serialize\n\n  output_string = &quot;&quot;\n  tr = Transitive.new( output_string )\n  Document.new(&quot;&lt;a&gt;&lt;b/&gt;&lt;/a&gt;&quot;).serialize( tr )\n"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "output:"
    body: output an object which supports '&lt;&lt; string'; this is where the
  type: :NOTE
- !ruby/struct:SM::Flow::VERB 
  body: "  document will be written.\n"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "indent:"
    body: An integer. If -1, no indenting will be used; otherwise, the indentation will be twice this number of spaces, and children will be indented an additional amount. For a value of 3, every item will be indented 3 more levels, or 6 more spaces (2 * 3). Defaults to -1
  - !ruby/struct:SM::Flow::LI 
    label: "trans:"
    body: If transitive is true and indent is &gt;= 0, then the output will be pretty-printed in such a way that the added whitespace does not affect the absolute <b>value</b> of the document -- that is, it leaves the value and number of Text nodes in the document unchanged.
  - !ruby/struct:SM::Flow::LI 
    label: "ie_hack:"
    body: Internet Explorer is the worst piece of crap to have ever been written, with the possible exception of Windows itself. Since IE is unable to parse proper XML, we have to provide a hack to generate XML that IE's limited abilities can handle. This hack inserts a space before the /&gt; on empty tags. Defaults to false
  type: :NOTE
full_name: REXML::Document#write
is_singleton: false
name: write
params: ( output=$stdout, indent=-1, trans=false, ie_hack=false )
visibility: public


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
%3c%3c-i.yaml
0.224 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
add-i.yaml
0.329 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
add_element-i.yaml
0.197 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
build-i.yaml
0.178 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cdesc-Document.yaml
2.08 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
clone-i.yaml
0.222 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
doctype-i.yaml
0.285 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
encoding-i.yaml
0.326 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
entity_expansion_limit%3d-c.yaml
0.313 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
entity_expansion_limit-c.yaml
0.306 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
entity_expansion_text_limit%3d-c.yaml
0.416 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
entity_expansion_text_limit-c.yaml
0.408 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
expanded_name-i.yaml
0.317 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
name-i.yaml
0.229 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new-c.yaml
0.546 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
node_type-i.yaml
0.177 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
parse_stream-c.yaml
0.2 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
record_entity_expansion-i.yaml
0.204 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
root-i.yaml
0.285 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
stand_alone%3f-i.yaml
0.341 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
version-i.yaml
0.322 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
write-i.yaml
2.542 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
xml_decl-i.yaml
0.313 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF