attributes

The following is a list of pages on this site that are tagged with attributes.

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

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