I'm running into issues referencing column names in SharePoint Designer 2010 when the names have spaces in them. This is discussed in this blog post.
For example, I've tried using the following code:
<xsl:value-of select="@Primary Phone"/>
In design view, Designer gives this error:
Failed setting processor stylesheet : 0x80004005 : Expected token 'EOF' found 'NAME'. @Primary -->Phone<--
"Primary Phone" is one of the built-in columns of SharePoint 2010. I've seen where it replaces spaces with "Column_x0020_Name" but not sure about how this is being done.
How do you reference a column with a space in it? I'm going to not use spaces from now on for custom columns, but for built-in columns, what do you do? Thanks.