Node wrapper - tries to wrap a set of XML/DOM-nodes in a surrounding document based on the passed validator markup parser
- author Espen Hovlandsdal
- copyright Copyright (c) Espen Hovlandsdal
- license http://www.opensource.org/licenses/mit-license MIT License
- link https://github.
com/rexxars/html-validator
CloneableInstantiable
Methods |
public wrap( $parser, $nodes, $charset = NULL) Attempts to wrap a document in a surrounding document
|
Methods |
protected wrapInHtml4Document( $nodes, $charset = NULL, $parser = NULL) Wraps a set of HTML nodes in an HTML4-document
|
protected wrapInHtml5Document( $nodes, $charset = NULL) Wraps a set of HTML nodes in an HTML5-document
|
protected wrapInXmlDocument( $nodes, $charset = NULL) Wraps a set of XML nodes in an XML-document
|