Copied!

Node wrapper - tries to wrap a set of XML/DOM-nodes in a surrounding
document based on the passed validator markup parser

Cloneable Instantiable
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

  • return string
protected wrapInHtml5Document ( $nodes , $charset = NULL )
 

Wraps a set of HTML nodes in an HTML5-document

  • return string
protected wrapInXmlDocument ( $nodes , $charset = NULL )
 

Wraps a set of XML nodes in an XML-document

  • return string
© 2020 Bruce Wells
Search Namespaces \ Classes
Configuration Numbers (0-9.) only