| Subject: [xsl] Question regarding XSL and Javascript From: Sanjeev Pai <sanjeevpai@xxxxxxxxx> Date: Thu, 20 Sep 2001 16:04:34 -0700 (PDT) | 
Hi,
I am trying to get a dynamic Javascript URL generated by XSL, but the
code keeps getting stuck with the parser. I went through the FAQs and
archives and read the messages about AVT and using
disable-output-escaping. Problem is that none of these techniques work
with the link. A sample of the code is shown below -
<xsl:for-each select="Customer">
  <tr>
    <td align="left">
      <xsl:if test="position() mod 2 > 0">
        <a
href="javascript:window.parent.openWorkWindow('customerWorkWindow17',
'Household Details by Member',
'http://localhost/testpage/servlet/RequestHandler?ActionID=FindHousehold%26CustomerID=123001%26DISFunction=Retrieve%26DISHtml=/presentations/html/MemberDetail.HTM')">
                    <xsl:value-of select="firstName"/> <xsl:value-of
select="lastName"/></a>
				</xsl:if>
  </td>
</tr>
</xsl:for-each>
In this code, the value 123001 actually needs to be replaced with
Customer/customerID. I have been trying various combinations of
xsl:value-of, CDATA and the quotes - '' and "" without much success.
Can you help?
Rgds,
sanjeev pai
=====
---------------------------------------------------------
                !!!Have a nice day!!!
---------------------------------------------------------
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] concatenating ranges of n, David Carlisle | Thread | RE: [xsl] Question regarding XSL an, Michael Kay | 
| Re: [xsl] concatenating ranges of n, David Carlisle | Date | [xsl] Inexplicable Null Characters , Ben Leighton | 
| Month |