Hi there,
I have a use case where I'd like to convert DocBook to HTML, whilst
preserving the information from the 'revision' attributes of all
original DocBook elements. I'd like to pass these through as an HTML5
'data' attribute (named 'data-revision').
This way, I can profile the document
On 8.1.2014 12:29, gra...@heliocentrik.net wrote:
So I created a similar set of templates. However, they don't seem to be
picking anything up, or adding the appropriate attributes to the created
HTML elements.
Your templates will never be called. You must modify existing template
xsl:template
Hi Jirka,
Thanks for your advice. I was able to get it working with the following
solution, incorporating changes to the common.html.attributes template
as you suggested:
xsl:import href=html/docbook.xsl /
!-- Apply common attributes such as class, lang, dir --