I have a style sheet in which I'm trying to ouput a couple of entities and the value of a variable. Following is my code:
<xsl:variable name="descrLine" select="."/> <xsl:value-of select="concat( ,°,$descrLine)"/>
In my sample above, the two entities are a non-breaking space and the degree symbol. This forum is converting them so you can't see them above. I'm using & #16o; and & #176; without the spaces.However, when I run my stylesheet, I get the following error:
SystemId Unknown; Line #69; Column #66; XSLT Error (javax.xml.transform.TransformerConfigurationException): javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: A location path was expected, but the following token was encountered:
The error message never says what the unexpected token is.Can anyone tell me what I'm doing wrong in my code? And descrLine does indeed have a value.Thanks,Steve