I have on my SharePoint page an XSL List View Web Part linked to an XSLT file via the "XSL Link" property. Here is the content of the XSLT:
<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl" xmlns:ddwrt2="urn:frontpage:internal"> <xsl:output method='html' indent='yes'/> <xsl:template match='dsQueryResponse'> <table> <tr> <xsl:apply-templates select='Rows/Row'/> </tr> </table> </xsl:template> <xsl:template match='Row'> <td> <xsl:value-of select='@Button' /> </td> </xsl:template> </xsl:stylesheet>
Basically, what it does is display the Title fields in a row instead of column.
This works fine on the Web Part itself. However as soon as I use it, some fields in other Web Parts on the page disappear. From what I've seen, the impacted fields are of type lookup.
Has anybody seen this weird issue before? Or is there anything wrong with my XSLT that breaks the page?
[Update] I did some more tests and the issue is specific to site lookups (lookups used in the current site but created in the parent site).