I have a Data View Web Part, on a custom edit Page for a list. I want to grab the current URL and pass it to the next page, so I can return to the editing screen. I have followed these instructions to display the current page URL:
http://www.stevesofian.net/post/XSLT-Tip-Get-Current-Page-URL.aspx
Inside of Sharepoint Designer, the Url displays and looks fine. HOwever, as soon as I actually view it via the site it goes missing, it's not being displayed at all.
I created a test aspx page (no master page, just a blank aspx), and the exactly the same result occurred. I've even tried cheating by creating an XSL variable, and using select="$PageUrl", again works in Designer, not on the site. How can I retrieve the URL?