XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Patricia WatsonSubject: Creating an XSL link out of a stylesheet graphic
Author: Patricia Watson
Date: 22 Jan 2007 04:31 PM
I have an xsl file that pulls a graphic, via a stylesheet, thusly:

Code:
<!-- Render the header banner and overlay it with the account toolbar -->
<xsl:if test="not($isPortal)">
<div id="headerBanner">
<xsl:call-template name="renderAccountToolbar"/>
</div>
</xsl:if>


What I want to do is make the "headerBanner" act as a link to another page.

I freely admit to knowing nothing about xsl, xml, etc. and will greatly appreciate any help I can receive.

Postnext
James DurningSubject: Creating an XSL link out of a stylesheet graphic
Author: James Durning
Date: 22 Jan 2007 04:57 PM
I believe you can surround the entire thing with an <a> element,

eg, <a href="http://www.w3schools.com">
everything inside including the image...
</a>

Posttop
Patricia WatsonSubject: Creating an XSL link out of a stylesheet graphic
Author: Patricia Watson
Date: 22 Jan 2007 06:22 PM
Originally Posted: 22 Jan 2007 06:23 PM
That was close. The link showed up (well actually I stumbled across it) between the graphic and the "toolbar".

I may have to try putting the <a></a> around the division declaration that surrounds this division.

Thanks

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.