For example, dropping in a qbo.ReportObject from XSLT can be done like this:
With the advent of HTML5, strict browser enforcement will reject the reportid attribute, since reportid is not a standard HTML attribute for <div> tags. However, any attributes that begin with 'data-' will be accepted by HTML 5.
More practically, there exist other options ('save' comes to mind) that behave differently as an attribute than as part of data-options.
Only data-options gives you the ability to do non-string-based options. Relevant for save, and for dates and such.
For more information on JSON, see: