Subject: RE: [xsl] Not working mouseover text From: "Selvaganesh" <selvaganesh_t@xxxxxxxxxxxxxx> Date: Sat, 28 Nov 2009 11:34:53 +0530 |
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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Not working mouseover tex, G. Ken Holman | Thread | [xsl] XML content check against the, Selvaganesh |
Re: [xsl] Not working mouseover tex, G. Ken Holman | Date | [xsl] XML content check against the, Selvaganesh |
Month |