> Given a sdocbook format with an image the title element on the figure context is copied across. So it produce an invalid HTML code.
> I found the part that creates this problem:
> But I do not know of a way to ignore just the title element and select everything else.
I think an elegant way to do this would be to use XSLT modes:
You could replace with
and create two templates:
If you don't need to exclude anything but the title, you could always
instead of the seven apply-templates.
If the order of the elements is important, I think you must
at least fix the apply-templates to
Otherwise the elements will appear in output exactly in the order of
p.s. Should this comment be added to Jira instead?
Oy Smartner Information Systems Ltd.