enum

XML::SaveOptions

Inherits Enum / Comparable / Value / Object

Constants

FORMAT = 1

Format save output

NO_DECL = 2

Drop the xml declaration

NO_EMPTY = 4

No empty tags

NO_XHTML = 8

Disable XHTML1 specific rules

XHTML = 16

Force XHTML1 specific rules

AS_XML = 32

Force XML serialization on HTML doc

AS_HTML = 64

Force HTML serialization on XML doc

WSNONSIG = 128

Format with non-significant whitespace

None = 0
All = 255

Constructors

xml_default
Source

Instance methods

as_html?

Returns true if this enum value contains AS_HTML

Source
as_xml?

Returns true if this enum value contains AS_XML

Source
format?

Returns true if this enum value contains FORMAT

Source
no_decl?

Returns true if this enum value contains NO_DECL

Source
no_empty?

Returns true if this enum value contains NO_EMPTY

Source
no_xhtml?

Returns true if this enum value contains NO_XHTML

Source
none?
Source
wsnonsig?

Returns true if this enum value contains WSNONSIG

Source
xhtml?

Returns true if this enum value contains XHTML

Source