[Home] [By Thread] [By Date] [Recent Entries]
You don't give a clue about how you call your xslt (browser, pi,
javascript, server side, java servlet etc), if (and if so, how) you set
parameters for your xslt and what version of xslt you are using. In
addition, you did not specify your input document (does your input doc
contain the search information?)
Suppose you have the search item in a parameter, say $search-item, you can do this in your xslt (actually I also assume that you have the page number in a parameters, would be a bit odd to have that hard coded): <xsl:attribute name="href"> <xsl:text>?page=</xsl:text> <xsl:value-of select="$page-number" /> <xsl:text>&search=</xsl:text> <xsl:value-of select="$search-item" /> </xsl:attribute> this is just one way. Depending on your code, your structure, the xslt parser you use etc, etc, some other method may or may not suite you better. Cheers, -- Abel Vaduvoiu Tiberiu wrote: Ok. I have 2 problems using a atribute <href> I have a site which has a form...which has action="" .. Now I also have some anchors which "add" a parameter to the url. I'm going to try to make this easy by using the example. On my site, a user searches for sport news for example. so after search the url will look like
|

Cart



