If you do not have the source code you can easily trim the $BaseURL in the xmlpackage.
Use the following code:
Code:
<xsl:param name="_baseUrl">
<xsl:value-of select="substring($BaseURL,
string-length(substring-before($BaseURL,
substring(normalize-space($BaseURL), 1, 1)
)
) + 1,
string-length($BaseURL)
-
string-length(
substring-before($BaseURL,
substring(normalize-space($BaseURL),
1,
1)
)
)
-
string-length(
substring-after
($BaseURL,
substring(normalize-space($BaseURL),
string-length(
normalize-space($BaseURL)
),
1)
)
)
)"/>
</xsl:param>
and then I use the $_baseUrl parameter with the PagingControl() function as follow:
Code:
<xsl:value-of select="aspdnsf:PagingControl($_baseUrl, $CurrentPage, /root/Products2/Product/pages)" disable-output-escaping="yes" />
This works for me!