logoalt Hacker News

afavouryesterday at 4:59 PM2 repliesview on HN

Sounds like XML and XSL would be a great fit here. Shame it’s being deprecated.

But you could still use HTML. Elements with a dash in are reserved for custom elements (that is, a new standardised element will never take that name) so you could do:

    <paper-author-list>
      <paper-author />
    </paper-author-list>
And it would be valid HTML. Then you’d style it with CSS, with

    paper-author {
      display: list-item;
    }
And so on.

Replies

bawolffyesterday at 5:10 PM

Nothing is stopping you from using server side XSL. I personally dont think its a great fit, but people need to stop acting like xsl has been wiped from the face of the earth.

show 1 reply
xworld21yesterday at 7:18 PM

Indeed, LaTeXML (the software used by arXiv) converts LaTeX to a semantic XML document which is turned to HTML using primarily XSLT!