xmlua.DocumentFragment
classIt's a class for document fragment node.
Normaly, you can get document fragment object by xmlua.Document:create_document_fragment
.
Example:
local xmlua = require("xmlua")
local document = xmlua.XML.build({"root"})
local document_fragment_node = -- -> xmlua.DocumentFragment
document:create_document_fragment()
It has methods of the following modules:
xmlua.Node
: Provides common methods of each nodes.
xmlua.Element
: The class for element node.
It means that you can use methods in the modules.
There are no methods specific to this class.
xmlua.Document
: The class for HTML document and XML document.
xmlua.Node
: Provides common methods of each nodes.
xmlua.Element
: The class for element node.