Now default parsers extract the doctype
element:
doctype = {
pos=number, -- when pos parser
name=string,
ident=string or nil,
pubident=string or nil, -- when ident != SYSTEM
dtd=string or nil,
}
New functions:
toString()
escapeFunctions()
escapeComment()
escapeAttribute()
escapeAttributeAndAmp()
escapeCDATA()
escapeText()
escapeTextAndAmp()