|
|
|
|
|
by kbolino
694 days ago
|
|
As I understand XSLT, it takes an XML document as input and an XML document describing the transformation, and produces an XML document as output. But most HTML in the wild today is not valid XML. There is XHTML as mentioned by a sibling comment but it's rarely used. So if you were to start with an existing base of HTML documents, you couldn't easily add XSLT preprocessing to them. The issue is with the input rather than the output. |
|
Here is what I know about using XHTML in practice: https://www.nayuki.io/page/practical-guide-to-xhtml