XSL/XSLT customization

The following is a list of pages on this site that are tagged with xsl/xslt customization.

pondj

DITA-OT1.5 M15 (Feature Request ID: 2698921)

Thanks to Robert Anderson (Feature Request ID: 2698921) you can now add attributes to the body tag in HTML output.

I wanted to use the http://code.google.com/p/google-code-prettify/ code highlighter and was able to get the script calls in using args.hdf/hdr, and use outputclass=prettyprint into the codeblock tag. The last thing was to modify the body tag to run the script when the page loaded. I modified the XSL to make it conditional, so it didn't modify the tag on pages that didn't actually need the script:

Read more

Tips for debugging PDF2 plugin PDF issues

Note: this page is out-of-date, see http://dita-ot.sourceforge.net/latest/ for current documentation. 

 

Keeping the generated FO file
One of the most important things to do to debug the PDF generated by the PDF2 plugin (also known as the Idiom PDF plugin) is to look at the FO file the plugin generates.   The plugin, by default, deletes all intermediate files, though, so you need to modify the plugin to save those files.

To stop the plugin from deleting the FO file:

 

Read more

XML.org Focus Areas: BPEL | DITA | ebXML | IDtrust | OpenDocument | SAML | UBL | UDDI
OASIS sites: OASIS | Cover Pages | XML.org | AMQP | CGM Open | eGov | Emergency | IDtrust | LegalXML | Open CSA | OSLC | WS-I