Better HN
topnewbestaskshowjobs
Log inSign up

thms-rmb

7 karma · joined Apr 2, 2018 (8y ago) · 3 submissions

Submissions

1.

Saxon-JS 2: high-performance XSLT 3.0 processor on Node or in the browser(saxonica.com ↗)

1 points · by thms-rmb · 6y ago · discuss

comment 6y ago · link · parent

Not exactly shiny technology, but XQuery seems to have a nice syntax [1]:

  element html {
    element body {
      element div {
        attribute id {"main"},
        "foo bar!",
        1 to 15,
        element footer { "this is the footer" }
      }
    }
  }

  <html>
    <body>
       <div id="main">foo bar! 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15<footer>this is the footer</footer>
       </div>
    </body>
  </html>
1: https://www.w3.org/TR/xquery-31/#id-computedConstructors

comment 8y ago · link · parent

The EU as a whole is also moving towards this: https://ec.europa.eu/programmes/horizon2020/sites/horizon202...