3 ms·
You can also attach a CSS to a XML document to specify how to present it. No need to touch XSLT.
by speedgoose 3y ago
You can also attach a CSS to a XML document to specify how to present it. No need to touch XSLT.
- SJC_Hacker 3y agoIts not simply styling, it goes beyond that. XML was/still intended to be the equivalent of JSON - just the data. With XSLT you created entirely new structure based on the underlying XML. The W3schools example is fairly decent https://www.w3schools.com/xml/xsl_intro.asp https://www.w3schools.com/xml/xsl_intro.asp Somehwhat similar to how component based JS frameworks work nowadays. Anyone who was using at a CSS equivalent was missing the point.