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

RE: XSL Newbie: how to inpage links

Subject: RE: XSL Newbie: how to inpage links
From: "Tiffany Blake" <Tiffany_Blake@xxxxxxx>
Date: Fri, 28 Jan 2005 04:54:34 -0800
inpage link
i have a large page i'd like to create in page links for:

Top of page has 1) anchor link for question somewhere at bottom of page and 2)
name link as target for anchor link (4):

<xsl:element name="a">

<xsl:attribute name="href">#q<xsl:value-of select="$pos"/><xsl:value-of
select="$pos2"/><xsl:number value="position()" format="1" /></xsl:attribute>
<xsl:attribute name="name">#a<xsl:value-of select="$pos"/><xsl:value-of
select="$pos2"/><xsl:number value="position()" format="1" /></xsl:attribute>
													<xsl:value-of select="."/>
														</xsl:element>
---------------
Bottom of page is the 3) name link as target for anchor link (1) above and 4)
anchor link back to question at top of page

<xsl:element name="a">
																					<xsl:attribute name="name">q<xsl:value-of
select="$pos"/><xsl:value-of select="$pos2"/><xsl:number value="position()"
format="1" /></xsl:attribute>
																					<xsl:value-of select="question"/>
																				</xsl:element>
.
.
.
<a href="javascript:history.go(-1)"><font size="-1">Back to
Question</font></a>

-----------------

i'm not keen on the solution for item (4), i'd prefer to use xsl rather than
javascript.

any ideas?
tiffany_blake@xxxxxxx

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.