Subject: Re: Linking to other queries. From: "Richard Lander" <rlander@xxxxxxxxxxxxxxxxxxx> Date: Tue, 27 Jul 1999 16:36:03 -0400 |
Kara, How about the following: <xsl:template match='Author'> <A class="special" href="placetogo.html">Author: <xsl:apply-templates/></A> </xsl:template> In your CSS, include: A.special {text-decoration:none;color:black} A.special:hover {text-decoration:underline;color:blue} If you want a non-fixed href attribute, you'll have to provide further processing. That CSS and XSL should do much of what you want. If you are not currently using CSS, you'll have to add a STYLE element inside your HEAD element. Good luck, Richard. Richard Lander relander at uwaterloo.ca http://pdbeam.uwaterloo.ca/~rlander/ Professional XML Authoring http://www.on-line-learning.com/ ----- Original Message ----- From: Kara Lee <karal@xxxxxxxxxxxxxx> To: 'xsl-list' <xsl-list@xxxxxxxxxxxxxxxx> Sent: Tuesday, July 27, 1999 4:00 PM Subject: Linking to other queries. > How do I create a link from my XML data to another XML data page that would > be based on the same XSL stylesheet? The problem is that I don't want the > link to show on the page, except as a mouse over caption. I want to jump to > the link when I click on the text of that namespace. > > I've been trying to make a line like this: > <Author>Smith J</Author> > appear like this: > Author: Smith J > And I have done that. > Now I want to be able to click on 'Smith J' and hop to another site. Is > there an easy way to do that. > > Thanks in advance. > > -------------------------------------- > Kara Lee > Applied Technical Systems > Karal@xxxxxxxxxxxxxx > http://www.apptechsys.com > --------------------------------------- > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Linking to other queries., Kara Lee | Thread | RE: Linking to other queries., Kara Lee |
Linking to other queries., Kara Lee | Date | RE: Linking to other queries., Kara Lee |
Month |