I have a simple debugging statement in my XSLT:
<dp:set-variable name= "'var://local/receivingProviderID'" value= "$receivingProviderID"/>
And others. Later, I have in the transform:
<ReceivingProviderId><xsl:value-of select= "dp:variable('var://local/receivingProviderID')"/></ReceivingProviderId>
It wasn't working. Worse, I couldn't see that my local variable was even getting set. Now I'm off on a wild tangent trying to figure out why it wasn't running my XSLT...was I mis-typing something... was my DP working??? I littered my XSLT with dp local variables to try to find out what is happening and scratched my head and examined probe after probe after probe with the right message, but without a single DP local variable getting set. Out of a combination or boredom, frustration, and confusion, I just started clicking and found ALL my dp local variables sitting under the "Context Variables" tab, all of them renamed as "var://context/header/BlahBlahBlah"..... WTF?
So, I change my XSLT to:
<ReceivingProviderId><xsl:value-of select= "dp:variable('var://context/header/receivingProviderID')"/></ReceivingProviderId>
And it works. Someone please explain to me why/when/how/and under what form of non-schizophrenia circumstances is this happening. This is very, very frustrating.