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

specifying a target for a hyperlink

Subject: specifying a target for a hyperlink
From: "Rachel Doolan" <racheldoolan@xxxxxxxxxxx>
Date: Sat, 17 Mar 2001 16:48:50
rachel doolan
hey everybody

hopefully someone will be able to help me solve this problem. I have hyperlinks in my xml document that I am applying xsl to and then opening them in a html page. This is all working find, but I want the new page (as a result of clicking the hyperlink to open in a new page. I can't get the target element of the hyperlink working properly. Currently I have the target as an attribute of the hyper;ink. I don't know if this is correct! maybe it would be easier if I contained the information in a separate tag? I have included snippets of the xml and xsl below. the information for calling the files is all in an asp file.

Thanks in advance for any help!!
Rach

part of xml file
<ALL>
<CATEGORY>
<desc>The Application contains a page to view the status of all releases and files to add a new release to the XML file</desc>
<title>Software Tracking Application</title>
<url xmlns="_blank"> http://www.vbxml.com/downloads/#software</url>
</CATEGORY>
</ALL>


part of xsl file
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">

<HTML>
<BODY>

<TABLE BORDER = "2" BORDERCOLOR = "00008B" CELLPADDING = "2" CELLSPACING = "0">

<xsl:for-each select="ALL/CATEGORY">

<TR>
<TH BGCOLOR = "00008B"><FONT COLOR = "WHITE">Title: </FONT></TH>
<TD BGCOLOR = "FFFFFF"><FONT COLOR = "00008B"><xsl:value-of select="title"/></FONT></TD>
</TR>
<TR>
<TH BGCOLOR = "6633FF"><FONT COLOR = "WHITE">Description: </FONT></TH>
<TD BGCOLOR = "FFFFFF"><xsl:value-of select="desc"/></TD>
</TR>
<TR>
<TH BGCOLOR = "9966FF"><FONT COLOR = "WHITE">Url: </FONT></TH>
<TD BGCOLOR = "FFFFFF">
<A>
<xsl:attribute name = "HREF">
<xsl:value-of select="url"/>
</xsl:attribute>
<xsl:value-of select="url"/>


</A>


</TD> </TR>

</xsl:for-each>

</TABLE>


</BODY> </HTML>

</xsl:template>
</xsl:stylesheet>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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.