Extracting data for anchor titles

Discussion in 'XML' started by Porthos, Jan 3, 2005.

  1. Porthos

    Porthos Guest

    Here's a good one. I want mouseover text to pop up for anchor text. I
    need to extract the mouseover text from one attribute in the XML
    document and the anchor text from a second attribute. I tried the line
    below, but it treats $name as litteral text and it won't let me get
    away with using: title=@author. How can I specify the title attribute
    to achieve my desired result?
    <a title="@author"><xsl:value-of select="@book"/></a>


    -James
     
    Porthos, Jan 3, 2005
    #1
    1. Advertising

  2. Porthos

    Joris Gillis Guest

    Joris Gillis, Jan 3, 2005
    #2
    1. Advertising

  3. Porthos

    Porthos Guest

    No dice. It just treated the ( )s as litterals too.
     
    Porthos, Jan 3, 2005
    #3
  4. Porthos

    Joris Gillis Guest

    Joris Gillis, Jan 3, 2005
    #4
  5. Porthos

    Porthos Guest

    Ahh! You are correct. I used parenthases (sp?), not curley braces,
    the first time. Thanks for your help. -James
     
    Porthos, Jan 3, 2005
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stevie_mac

    Tooltips on datagrid titles

    Stevie_mac, Jul 25, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    467
    Stevie_mac
    Jul 25, 2003
  2. Cameron Simpson
    Replies:
    0
    Views:
    78
    Cameron Simpson
    Feb 27, 2014
  3. Tim Chase
    Replies:
    0
    Views:
    81
    Tim Chase
    Feb 27, 2014
  4. Tim Chase
    Replies:
    0
    Views:
    79
    Tim Chase
    Feb 27, 2014
  5. Denis McMahon
    Replies:
    1
    Views:
    74
    Denis McMahon
    Feb 28, 2014
Loading...

Share This Page