Remix.run Logo
afavour 4 hours ago

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.
bawolff 4 hours ago | parent | next [-]

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.

afavour 4 hours ago | parent [-]

Yes but we’re specifically talking about a display format here. Something requiring a server side transform before being viewable by a user is a clear step backwards.

bawolff 2 hours ago | parent [-]

How so? I can't think of any advantage to having client side xsl over outputting two files, in this context.

afavour 2 hours ago | parent [-]

The discussion is about the form in which you share papers. With HTML you just share the HTML file, it opens instantly on basically any device.

If you distribute the paper as XML with an XSLT transform you need to run something that’ll perform that transform before you can read the paper. No matter whether that transform happens on the server or on the client it’s still an extra complication in the flow of sharing information.

xworld21 2 hours ago | parent | prev [-]

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