Skip to content

enum XML::SaveOptions

Members

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

Class methods

.xml_default : self

View source

Methods

#as_html?

View source

#as_xml?

View source

#format?

View source

#no_decl?

View source

#no_empty?

View source

#no_xhtml?

View source

#none?

View source

#wsnonsig?

View source

#xhtml?

View source