Hey everyone, Using xsql with an xsl stylesheet I'd like to display a template from a hyperlink. I can get the link to access a website: <a href="http://www.google.com"><li><xsl:value-of select="DBINFORMATION"/></li></a>
What I really want is the page to show some data from the db. Something like this:
<xsl:template match="THEINFO"> <h2>The info you requested is: <xsl:value-of select="INFO"/></h2> </xsl:template>
I presume that I need to use an 'apply-template' in the hyperlink? I could be wrong! Any help would be much appreciated!
you have a hyperlink, <a> by the way, you should probably put the <a> inside the <li>, not the other way around
When you click the link, you want to show data from your database. So... create a page on your own site that shows the information you want to show, and link to it. Instead of linking to google, link to your own page.