[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Linking to other queries.

Subject: Re: Linking to other queries.
From: "Richard Lander" <rlander@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Jul 1999 16:36:03 -0400
richard kara
 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.