I have extended the Content Query Web Part by adding a textbox control ToolPart. This is working, i.e. I am able to see the control, add a value in the textbox and save it. Is it possible to pass the value of this ToolPart textbox to the xsl file? I found this article: http://blog.sharepointexperience.com/customitemstyle/ that describes how to first see all fields being passed to the webpart by creating a temporary itemstyle with this code:
<xsl:for-each select="@*">P:<xsl:value-of select="name()" /></xsl:for-each>
I believe I next need to modify CommonViewFields of the *.webpart file to include the fields I would like to pass to xsl.
My question is how do I know the name of the field SharePoint is using to store the value of the textbox toolpart? The toolpart textbox is generically named (i.e. _textbox), so I do not think I can derive the the field name from the textbox created in code.