Comments (2)
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.
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
andtbody
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)
- XQFO Code in the Rules sections HOT 7
- fn:subsequence-where: equivalent `fn:slice` expression HOT 2
- Reinstate subsequence-before HOT 1
- regular expressions - whitespace HOT 6
- regular expression addition - word boundaries HOT 1
- How to invert a predicate function HOT 16
- QT4CG-064-03, QT4CG-064-04: Examples, Return type of `fallback`
- fn:transform() improvements
- [XSLT] Need to say what happens when a capturing accumulator rule matches a non-element node HOT 4
- Predicates, sequences of numbers: Feedback HOT 2
- Editorial comments on fn:parse-csv() HOT 3
- Output of parse-csv() HOT 2
- XQFO: Unknown option parameters HOT 2
- When to apply the coercion rules HOT 1
- Extend `fn:doc`, `fn:collection` and `fn:uri-collection` with options maps HOT 2
- Precedence of `otherwise` operator HOT 1
- XSLT match patterns on pinned maps and arrays
- regular expression addition - lookbehind assertions and lookahead assertions HOT 2
- regular expression addition - comments HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtspecs.