Creates a new instance of the Response
class and sets the status and string attributes
s*(((([“‘]).*?5)|*)*?)(/)?>/um, true)
<!ENTITY name SYSTEM
“…”> <!ENTITY name “…”>
Prints out the XML
document with no formatting – except if ie_hack is set.
If set to true, then inserts whitespace before the close of an empty tag, so that IE’s bad XML
parser doesn’t choke.
Create a new pretty printer.
An object implementing ‘<<(String
)’, to which the output will be written.
An integer greater than 0. The indentation of each level will be this number of spaces. If this is < 1, the behavior of this object is undefined. Defaults to 2.
If true, the printer will insert whitespace before closing empty tags, thereby allowing Internet Explorer’s XML
parser to function. Defaults to false.
Create a new element.
The type of this event. Will be one of :tag_start, :tag_end, :text, :processing_instruction, :comment, :doctype, :attlistdecl, :entitydecl, :notationdecl, :entity, :cdata, :xmldecl, or :error.