XSLT uses XML syntax, and XML doesn't allow elements to appear within attributes.
There's a special syntax for this called attribute value templates:
<meta name="jc.wss" content="{$space_normalized_query}"/>
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference