I have a requirement where I need to customize the display of content in a content query web part based on metadata associated with the page layout. When I say customize the display I am not filtering out content. Its a navigational element of sorts. Essentially I have a page that talks about a specific topic. My web part will conditionally format all of the items that pertain to that particular item, it will also gray out the options that do not pertain to that item, but will leave them clickable.
Is there a way to grab the current page title as a parameter in the itemstyle.xsl? I know I can grab the current URL, and worst case scenario I could strip out the page title based on that, but I am then relying to much on the end user to create the page correctly. I also know I could use jquery or javascript to get the title, however one of the requirements is to avoid as much code even client side as possible.