Setting header and footers for DITA PDF
Posted: Sat Jul 27, 2013 2:14 am
I'm working in the my XML customization directory trying to change the headers, footers and various other elements in my DITA PDF output.
I've added the "template name="insertBodyEvenHeader">" to customized custom.xsl file, and am attempting to change the <my_customization>/common/var/en.xml file to set my product values. For example, I'm trying to change the product name variable <variable id="Product Name"/>. But no matter how I try to change it (for example <variable id="Widget 3000"/>, or <variable id="Product Name, 'Widget 3000'"/>, or <variable id="Product Name="Widget 3000""/> ...etc), nothing seems to work.
I've also tried setting values within the insertBodyEvenHeader template, but my guess is this isn't a good place to set values as they'd have to be changed for each language.
Where am I going wrong, apart from having little experience with XML and XSL.
Thanks
I've added the "template name="insertBodyEvenHeader">" to customized custom.xsl file, and am attempting to change the <my_customization>/common/var/en.xml file to set my product values. For example, I'm trying to change the product name variable <variable id="Product Name"/>. But no matter how I try to change it (for example <variable id="Widget 3000"/>, or <variable id="Product Name, 'Widget 3000'"/>, or <variable id="Product Name="Widget 3000""/> ...etc), nothing seems to work.
I've also tried setting values within the insertBodyEvenHeader template, but my guess is this isn't a good place to set values as they'd have to be changed for each language.
Where am I going wrong, apart from having little experience with XML and XSL.
Thanks