transform td role to td class in HTML-output

Michel van den Burg <[email protected]> Tue, 15 Sep 2020 10:25:44 +0000
Newsgroups gmane.text.docbook.apps
Message-ID <[email protected]>
Hi everyone, I'm using the DocBook XSL to transform DocBook XML to EPUB and HTML. I would like to transform

td role="breedte-50"

to

td class="breedte-50"

in my HTML output, but unfortunately the output is

td

I have tried to use match:
docbook:td[@role = 'bron']

and I've tried the class.value mode. They both don't work.

I've read two posts (from 2010 and 2011) that address this topic. Is there a way to add classes to td's?

Thanks in advance,
Kind regards,
Michel