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

RE: Not working mouseover text

Subject: RE: Not working mouseover text
From: "Selvaganesh" <selvaganesh_t@xxxxxxxxxxxxxx>
Date: Sat, 28 Nov 2009 11:34:53 +0530
RE:  Not working mouseover text
Hi Ken,

Thanks lot, its working fine.

Thanks,
Selva

-----Original Message-----
From: G. Ken Holman [mailto:gkholman@xxxxxxxxxxxxxxxxxxxx] 
Sent: Saturday, November 28, 2009 9:09 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Not working mouseover text

At 2009-11-28 08:40 +0530, Selvaganesh wrote:
>Hi All,
>
>I have problem for mouseover text, these text pick-up from the attribute
>value of input xml.
>
>XML file:
><para>This section introduces <sccc:legis-cite
>sccc:title="xsl-list@mulberrytech" sccc:year="2009" sccc:chapter="24"
>sccc:section="Part1" sccc:type="statute">Part 1</sccc:legis-cite> which
>deals with social security.</para>
>
>XSL file:
><xsl:template match="sccc:legis-cite">
><span style="background-color: #99FF99; font-size:17; color:Black;"
>title="@sccc:title"><xsl:apply-templates/></span>
></xsl:template>
>
>When browser view the mouseover text was showed as "@sccc:title" but I
>expected "xsl-list@mulberrytech" (sccc:title attribute value from the xml
>file).

In a literal result element, attribute values can engage attribute 
value templates by using brace brackets to evaluate an XPath expression:

    title="{@sccc:title}"

Without the brace brackets, the value of the attribute will be the 
literal text.

I hope this helps.

. . . . . . . . . . Ken

--
Vote for your XML training:   http://www.CraneSoftwrights.com/s/i/
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
Video overview:  http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal



Confidentiality Notice:  This transmittal is a confidential communication.  If you are not the intended recipient, you are hereby notified that you have received this transmittal in error and that any review, dissemination, distribution or copying of this transmittal is strictly prohibited.  If you have received this communication in error, please notify this office immediately by reply and immediately delete this message and all of its attachments, if any.

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.