I am having trouble with this issue. I basically want to open a window in a
new browser, but the URL that I am using is an XPath location
<a href="#" onClick="window.open({$link});return false" class="linksmall">
the trouble is that, it is not accepting that URL, and only URL's in that Xpath format.
<xsl:variable name="link" select="/Files/Sites/NewStuff[@Rank=$rank]/More/URL"/>
Sample XML
<Files>
<Sites>
<NewStuff Rank="1">
<More>
<URL>directories/images/html/test.html</URL>
</More>
</NewStuff>
</Sites>
<Files>
is there a way to do this? have the location be XPath??
new browser, but the URL that I am using is an XPath location
<a href="#" onClick="window.open({$link});return false" class="linksmall">
the trouble is that, it is not accepting that URL, and only URL's in that Xpath format.
<xsl:variable name="link" select="/Files/Sites/NewStuff[@Rank=$rank]/More/URL"/>
Sample XML
<Files>
<Sites>
<NewStuff Rank="1">
<More>
<URL>directories/images/html/test.html</URL>
</More>
</NewStuff>
</Sites>
<Files>
is there a way to do this? have the location be XPath??