Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 18th, 2007, 09:54 AM
Authorized User
Points: 235, Level: 4
Points: 235, Level: 4 Points: 235, Level: 4 Points: 235, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2007
Location: , , .
Posts: 51
Thanks: 3
Thanked 0 Times in 0 Posts
Default Problem with <span> tag

Hello,
I am trying to use <span> to create dynamic hovering test when mouse-overing list items. In general I get it to work when I use:


<li>
<span title="FLOATING TEXT HERE">
<xsl:value-of select="substring-after(@xsi:type, ':')"/>: <xsl:value-of select="@name"/>
</span>
</li>

The problem is that I cannot figure out how, in the title=, I can submit a node attribute, or a param or variable. Any help is greatly appreciated. Thanks

Reply With Quote
  #2 (permalink)  
Old February 18th, 2007, 11:05 AM
Friend of Wrox
Points: 1,676, Level: 16
Points: 1,676, Level: 16 Points: 1,676, Level: 16 Points: 1,676, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2006
Location: , , .
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

Code:
<li>
<span title="{attribute-here}">
<xsl:value-of select="substring-after(@xsi:type, ':')"/>: <xsl:value-of select="@name"/>
</span>
</li>
You can use curly brackets....



Reply With Quote
  #3 (permalink)  
Old February 18th, 2007, 03:48 PM
Authorized User
Points: 235, Level: 4
Points: 235, Level: 4 Points: 235, Level: 4 Points: 235, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2007
Location: , , .
Posts: 51
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Thanks, that works peachie!

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
<img Tag problem> sen321x .NET Framework 2.0 1 October 30th, 2007 07:47 AM
problem while using <logic:iterate> tag be_sandip Struts 4 April 26th, 2007 11:27 PM
<a> tag in XML sani723 XSLT 5 March 27th, 2007 04:16 AM
problem while using <logic:iterate> tag be_sandip BOOK: Professional Jakarta Struts 0 November 13th, 2006 08:05 AM
a problem in book<<beginning asp.net using vb>> luoware ASP.NET 1.0 and 1.1 Basics 3 December 8th, 2003 09:32 PM



All times are GMT -4. The time now is 08:15 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.