points by ExoticPearTree 5 days ago

> One might think that as technology progresses more and more pieces of older technologies get revived and incorporated into the available tooling. Yet the very opposite thing happens: good and working parts are removed because the richest companies on Earth "cannot afford" to keep them.

I think it is because nobody, excepts a handful of people around the world, feels the need to use XSLT in lieu of CSS. Hence, CSS has evolved over time while XSLT has not.

This is how the world works: technology advances and old things become obsolete over time.

mx7zysuj4xew 5 days 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)

  • Mikhail_Edoshin 5 days ago

    Yes, 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 5 days ago

      It 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 5 days ago

        What the hell are you talking about

        CSS and XSL-FO are entirely different concepts

        • om2 4 days ago

          Take it up with the parent of my comment, who compared them directly.

    • ExoticPearTree 4 days ago

      > This is both a simpler and more powerful approach than CSS.

      If it were true, everyone would have used this instead of CSS.

  • ExoticPearTree 5 days ago

    I 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.