I was recently working with the
The solution was fairly simple, but involves passing the struct of data that you want available to
<cfset local.stbook = { price="9.99" publishername="My Publisher" title="my book" type="footer" } />
<cfdocumentsection>
<cfdocumentitem attributecollection="#local.stBook#">
<cfdump var="#attributes#" />
</cfdocumentitem>
</cfdocumentsection>
Once the data is passed into the tag itself, it's then available to the tag inside the "attributes" collection. The same principle as a custom tag. Works like a charm :-)
Solution found on StackOverflow.