Re: Defining sets of attributes that apply to an element depending on an active profile

David Cramer <[email protected]> Mon, 19 Jul 2021 11:07:46 -0500
Newsgroups gmane.text.docbook.misc
Message-ID <[email protected]>
On 7/16/21 7:53 AM, Norm Tovey-Walsh wrote:

> elements. I guess you could use namespaced attributes instead, but I’m
> not sure it’s worth the effort.

Namespaced attributes, hmm...that gives me an idea. Our schema is
already a DocBook variant, so I have some flexibility.

> That looks like a slippery slope to me. I bet you lunch at Kerbey Lane
> that authors will start to ask for this in more places and eventually
> you’ll have a proposal for:

Good point--xpath would leave the power users wanting more and the naïve
users confused. Make it to a Kerbey Lane and lunch is on me!

This all gives me a couple of viable ideas to propose. I'll see which
one the authors in question like.

Thanks,
David