Knowledge Walls
Gopal Rao
Mumbai, Maharashtra, India
Passcode:
How to pass column as query string in xslt-sharepoint
4144 Views
Introduction 
I passed ID column value as query string to data view web part page.

Syntax in xsl to pass value as query string
you can pass the value by anchor tag:
<a href="home_page.aspx?id={@ID}"></a>
@ID is the column name. 
id= is a query string variable.
Another method to pass query string is...
by using xsl:attribute 
<a>
<xsl:attribute name="href">
Home_page.aspx?id=<xsl:value-of select="@ID"/>
</xsl:attribute>
</a>
If u like this post add me as ur Author
Previous Topics
Previous lessons of current book.
Best Lessons of "Sharepoint(MOSS) XSLT codes"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details