class Nokogiri::XML::Node::SaveOptions
Save options for serializing nodes. See the method group entitled Serialization and Generating Output at Node for usage.
Constants
- AS_BUILDER
-
Save builder created document
- AS_HTML
-
Save as
HTML - AS_XHTML
-
Save as XHTML
- AS_XML
-
Save as
XML - DEFAULT_HTML
-
the default for
HTMLdocument - DEFAULT_XHTML
-
the default for XHTML document
- DEFAULT_XML
-
the default for
XMLdocuments - FORMAT
-
Format serialized xml
- NO_DECLARATION
-
Do not include declarations
- NO_EMPTY_TAGS
-
Do not include empty tags
- NO_XHTML
-
Do not save XHTML
Attributes
Integer representation of the SaveOptions
Integer representation of the SaveOptions
Public Class Methods
# File lib/nokogiri/xml/node/save_options.rb, line 47 def initialize(options = 0) @options = options end
Create a new SaveOptions object with options
© 2008–2023 by Mike Dalessio, Aaron Patterson, Yoko Harada, Akinori MUSHA, John Shahid,
Karol Bucek, Sam Ruby, Craig Barnes, Stephen Checkoway, Lars Kanis, Sergio Arbeo,
Timothy Elliott, Nobuyoshi Nakada, Charles Nutter, Patrick MahoneyLicensed under the MIT License.
https://nokogiri.org/rdoc/Nokogiri/XML/Node/SaveOptions.html