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

RE: creating hyperlinks of xmls

Subject: RE: creating hyperlinks of xmls
From: "Jeremy Jongsma" <jjongsma@xxxxxxxxxxxxxxxx>
Date: Fri, 20 Apr 2001 10:46:57 -0500
jeremy jongsma
Hi Koray,

For <a> tags, since you will be customizing the href attribute, you must use
the <xsl:element> tags to define it:

<xsl:element name="a">
	<xsl:attribute name="href"><xsl:value-of
select="destination"/></xsl:attribute>
	<xsl:value-of select="title/>
</xsl:element>

This is assuming that the <destination> element contains the URL you wish to
link to.

Jeremy Jongsma
Webmaster, FutureSource/Bridge
jjongsma@xxxxxxxxxxxxxxxx

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Koray Berk
Sent: Friday, April 20, 2001 10:09 AM
To: XSLList (E-mail)
Subject:  creating hyperlinks of xmls


I am trying to form an xml for archiving important links.
The xml looks something like this:

<entities>
<entity>
<title>Title of Link</title>
<abstact>A little abstract here</abstract>
<keywords>keywords, hints, tips, tricks</keywords>
<destination>c:\myfile.txt</destination>
</entity>
<entity>
<title>Title of Link2</title>
<abstact>A little abstract2 here</abstract>
<keywords>keywords2, hints2, tips2, tricks2</keywords>
<destination>c:\myfile2.txt</destination>
</entity>
</entities>

For the xsl I can manage all but the line that generates
<a href="myfile.txt">Title Of Link</a>

Of course, taking into my prior question, which xmlns should I use with your
advise.

Sorry to ask simple questions, but thats where I am so far!
Thanx from Istanbul,
Koray



 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.