bdarcus / csl-next-attic

a very tentative experiment ATM ...
2 stars 0 forks source link

Should attributes be namespaced? #22

Closed bdarcus closed 1 year ago

bdarcus commented 1 year ago

They aren't in CSL 1, and they do add some hassle; basically, every node would be namespace-prefixed:

<cs:if cs:type="book">

But that would leave opportunity to cleanly separate different nodes, especially to allow for extension.

<cs:if cs:type="book" foo:bar="x">

On the "hassle": I think as part of a re imagining CSL for the next two decades, we need to find a way to automate style creation, so users never have to think about this.

https://github.com/citation-style-language/schema/issues/244