(Isolating theme from #156)
Objective
- Have an overall PSHTML Object that contains the HTML stucture tree
- Have the classes, ID's and attributes
I would imagine a structure along these lines:
PSHTML.Document
| Postion |
Type |
Id |
Class |
Attributes |
| [int] |
[String]Div,Body, etc.. |
[String]html id |
[String[]] html class |
[HashTable] Attributes |
Perhaps also think of adding a content on the object, which would contain the content of each HTML tab part. It could potentially, also contain another PSHTML.Document, for nested elements.
| Postion |
Type |
Id |
Class |
Attributes |
Content |
| [int] |
[String]Div,Body, etc.. |
[String]html id |
[String[]] html class |
[HashTable] Attributes |
[PSHTML.Document] or [String] |
This would be done implementing the Composite Pattern
Some sources for inspiration for the exports:
(Isolating theme from #156)
Objective
I would imagine a structure along these lines:
PSHTML.Document
Perhaps also think of adding a
contenton the object, which would contain the content of each HTML tab part. It could potentially, also contain another PSHTML.Document, for nested elements.This would be done implementing the Composite Pattern
Some sources for inspiration for the exports: