I'm taking an XML class online and I'm not entirely sure what the "$" is used for.
Specifically, here is a block from the text book..
<xsl:value-of select="key('agentID', $aID)" />
The dollar sign in front of aID is where I am confused. Why does it need to be there?