Customizing webhelp in XML Author to remove
Posted: Thu Nov 01, 2012 10:54 pm
Hi,
The default DITA Map Webhelp transformation inserts the text "WebHelp output generated by <logo> XML Author" in the footer of each content file in the main frame. The default transformation also inserts header text that references default CSS files.
I removed the <div class="footer"> template in the dita2webhelpImpl.xsl file, which should have removed the "WebHelp output generated by <logo> XML Author" footer text. After closing and re-opening XML Author, the DITA Map Webhelp transformation still inserts the text.
Also, I removed the following node from the dita2webhelpImpl.xsl file, which should have at least removed one of the CSS file references from the content headers in the output.
<link rel="stylesheet" type="text/css" href="{$PATH2PROJ}assets/webhelp_topic.css"/><xsl:value-of select="$newline"/>
But the transformation still inserts the CSS reference. The default CSS file takes precedence over my own CSS file, which I reference using the args.hdf parameter.
How could I customize the webhelp transformation to remove the default CSS references and footer text?
Thanks,
Mark
The default DITA Map Webhelp transformation inserts the text "WebHelp output generated by <logo> XML Author" in the footer of each content file in the main frame. The default transformation also inserts header text that references default CSS files.
I removed the <div class="footer"> template in the dita2webhelpImpl.xsl file, which should have removed the "WebHelp output generated by <logo> XML Author" footer text. After closing and re-opening XML Author, the DITA Map Webhelp transformation still inserts the text.
Also, I removed the following node from the dita2webhelpImpl.xsl file, which should have at least removed one of the CSS file references from the content headers in the output.
<link rel="stylesheet" type="text/css" href="{$PATH2PROJ}assets/webhelp_topic.css"/><xsl:value-of select="$newline"/>
But the transformation still inserts the CSS reference. The default CSS file takes precedence over my own CSS file, which I reference using the args.hdf parameter.
How could I customize the webhelp transformation to remove the default CSS references and footer text?
Thanks,
Mark