398
Yes, I program in HTML
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
This is not HTML. It isn't even XML. It's not as bad as designers putting "code" into ads, but it's close.
Also, ever heard of XSLT?
I mean it's valid XML
It's just not useful
It isn't valid XML. No root node.
We may just not see it but fair point
The editor would need to start counting lines at zero.
The line numbers show us that we're seeing the whole file.
Oh ur right
Ew I didn't notice
That's awful
They only (probably) show us that we are seeing the begining of the file. Also relative line numbing is a thing in vim for example.
Could it be an xml entity (or whatever it’s called) that you reference from another xml file? Do those require root nodes?