PluginProbe
Parse.ly / 3.24.2
Parse.ly v3.24.2
3.24.3 3.24.2 3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 All 107 releases
wp-parsely / vendor / masterminds / html5 / src / HTML5 / Serializer / README.md

README.md in Parse.ly 3.24.2, at vendor/masterminds/html5/src/HTML5/Serializer/README.md

33 lines 929 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 # The Serializer (Writer) Model
2
3 The serializer roughly follows sections _8.1 Writing HTML documents_ and section
4 _8.3 Serializing HTML fragments_ by converting DOMDocument, DOMDocumentFragment,
5 and DOMNodeList into HTML5.
6
7 [ HTML5 ] // Interface for saving.
8 ||
9 [ Traverser ] // Walk the DOM
10 ||
11 [ Rules ] // Convert DOM elements into strings.
12 ||
13 [ HTML5 ] // HTML5 document or fragment in text.
14
15
16 ## HTML5 Class
17
18 Provides the top level interface for saving.
19
20 ## The Traverser
21
22 Walks the DOM finding each element and passing it off to the output rules to
23 convert to HTML5.
24
25 ## Output Rules
26
27 The output rules are defined in the RulesInterface which can have multiple
28 implementations. Currently, the OutputRules is the default implementation that
29 converts a DOM as is into HTML5.
30
31 ## HTML5 String
32
33 The output of the process it HTML5 as a string or saved to a file.