Giter Site home page Giter Site logo

Comments (2)

ndw avatar ndw commented on July 1, 2024

This seems like a very user-friendly change. But I think we should try to produce tables that meet accessibility guidelines. That means scope attributes on column headers and (where rows have headers) row headers.

I'm not sure about that use of title. I think that level of cross-reference would be done with IDs and header attributes in a more accessible table. But generating IDs is fraught with peril.

from qtspecs.

ChristianGruen avatar ChristianGruen commented on July 1, 2024

I’m not that convinced. Aren’t there much more use cases for processing XML than “just producing HTML”? Would it have been a good idea to introduce an fn:json-to-html function? Some more concerns:

  • We have no fixed namespace for the http://www.w3.org/1999/xhtml namespace. Instead of .//fn:row, one would need to write .//*:row or .//Q{http://www.w3.org/1999/xhtml}row.
  • For non-HTML usecases, it feels unnatural to work with thead and tbody elements.
  • We would reduce consistency (we already have fn:json-to-xml)

With a language that was initially designed for processing XML data, we shouldn’t lose our focus on pure XML processing, and make no concessions for target formats. It would be nice to have something as simple as csv-doc('input.csv')//field[@column = 'City'].

from qtspecs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.