3 ms·
This proves that you do not understand the technology at hand. XSLT isn't about styling documents, but is more like ETL (Extract, Transform, and Load)
by mx7zysuj4xew 1y ago
This proves that you do not understand the technology at hand.
XSLT isn't about styling documents, but is more like ETL (Extract, Transform, and Load)
- ExoticPearTree 1y agoI had the displeasure of working with XML. And I know here on HN there are people that for whatever reason like it. I don't.
- Mikhail_Edoshin 1y agoYes, XSLT is a transform. But XSL-FO is a special XML notation for printed media (it also has aural components, but I don't know if they are implemented anywhere). It uses a model similar to CSS, but does not use CSS stylesheets. Instead all attributes are attached directly to XML elements. (Like Tailwind). There is inheritance, but that's all; there are no CSS selectors, no variables, no generated content, nothing, because why? All this can be done during transform. This is both a simpler and more powerful approach than CSS.
- om2 1y agoIt doesn’t scale well to content that changes dynamically on the client side very well. Dynamic manipulation of the post transform XSL-FO is confusing and difficult, retransforming the whole document from source is too slow and loses state. This is a big part of why CSS won.
- mx7zysuj4xew 1y agoWhat the hell are you talking about CSS and XSL-FO are entirely different concepts
- om2 1y agoTake it up with the parent of my comment, who compared them directly.
- ExoticPearTree 1y ago> This is both a simpler and more powerful approach than CSS. If it were true, everyone would have used this instead of CSS.