Softanza
StartFrançais
Softanza
The library documents itself · Files & formats

stzHtml

15 own methods · 2 forms written with extensions, listed under their method

the source: base/file/stzHtml.ring(opens in a new tab) · All classes · The area reference: Files & formats

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

No method of this class is run on this page: the class reaches files, the network, processes, the clock, chance or sound, and an example run here would only be an example of its effects. Each method carries the explanation the library gives of itself.

Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
Content
(no comment in the source: the name reads as a sentence) contentalso written: Htmlno extension
Reload
(no comment in the source: the name reads as a sentence) reloadQCSXTZZZIBWU
Text
Document-level text -- scripts and styles suppressed by the engine.also written: PlainTextno extension
NumberOfElements
Count + accessors over the flat element index.no extension
CountByTag
(no comment in the source: the name reads as a sentence) count by tagno extension
Find
Find: minimal CSS-like dispatch (tag / #id / .class). Returns a list of stzHtmlNode handles bound to this document.also written: FindAllQCSXTZZZIBWU
FindFirst
(no comment in the source: the name reads as a sentence) find firstno extension
IsValid
A document is valid if it parsed and yielded at least one element.also written: IsWellFormedno extension
Elements
All element nodes, in document order.no extension
HasTag
(no comment in the source: the name reads as a sentence) has tagno extension
HasBody
(no comment in the source: the name reads as a sentence) has bodyno extension
HasHead
(no comment in the source: the name reads as a sentence) has headno extension
TagsUsed
Distinct tag names used, in first-seen order (lowercased).no extension
ElementsWhere
Natural-condition query: a hashlist of [ :Tag, :Class, :Id ] constraints (any subset); returns the element nodes matching ALL given constraints.no extension