Attached patch adds an option to pre-process the input XML document with the profiling stylesheet, profile.xsl.
While it's possible to do this pre-processing before invoking xmlto, I found this useful as it avoids duplicating the gynmastics xmlto does to control the name of the output.
(It doesn't seem possible to do this with a single xsltproc pass using the combined profiling and transform stylesheets, as for some formats, the transformation isn't done by a direct xsltproc invocation, but is wrapped up in other tools)
attachment add_profile_option.patch
Thanks for the suggestion and patch. Makes sense. I still need to find some time to polish the release, but I hope I'll make it in next month or two.
Metadata Update from @jturney: - Issue assigned to ovasik
Log in to comment on this ticket.