XSLT error

Jan 4, 2013 at 11:01 AM


when I add this web part to the publishing page, I have an error:

Error while executing web part: System.Xml.Xsl.XslLoadException: XSLT compile error. An error occurred at (68,71). ---> System.Xml.XmlException: An error occurred while parsing EntityName. Line 68, position 71.     at System.Xml.XmlTextReaderImpl.Throw(Exception e)     at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos)     at ......

I think the problem is in the line:

<xsl:variable name="QS" select="substring-before($QueryString, '&')" />

But I do not have an idea what is wrong...