Is there a consistent pattern to it?
I'm having trouble working out how you derive LineScript from HTML.
<meta charset="utf-8" />
becomes charset -> utf-8
but <meta name="viewport" content="width=device-width, initial-scale=1" />
becomes meta -> viewport -> width=device-width, initial-scale=1
Why does the first one start with the key of the attribute, but the second starts with the element then the value of the attribute?