Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About jle

  • Rank
  1. Hi All, Below is part of my XML file that will be used with FLASH to display the data on the grapth.With this sample I have 12 values in the X-axis for the time and values in the Y-axis. <number></number> is resprent there is no value(not zero) for this given time but on the graph it always plot with zero on the graph.How to write the XML data part for the no value in this case.Your help is greatly appreciate.Thanks,JL<row> <null/> <string></string> <string>10:10</string> <string></string> <string>10:20</string> <
  2. Hi All,I have the checkbox is defined in the xsl file:................................ <div id="dPassthrough"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td height="18"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><input name="cPassthrough" type="checkbox" class="checkbox" id="cPassthrough" value="checkbox"/> </td> <td><label for="cPassthrough">Show passthrough tr
  3. Thank you so very much for the help.It worked.Thanks,JP
  4. Hi all,I would like to pass the xsl parameter to javascript's parameter.So name is defined as "comp" and I would like to pass this variable to parameter of AC_FL_RunContentBasislly I would like to use $comp instead of hard coded of compression02.xml.Your help is greatly appricated.Thanks,JPMy xsl file is define as below:<xsl:param name="comp" select="'xml/comp.xml'"/>..............................................................<h2>Percent Compression</h2><script type="text/javascript">AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/ca
  5. jle

    For-each loop

    Thank you so very much! It works.Thanks a ton,JP
  6. jle

    For-each loop

    Hi all,I found the answers to most of the question except one question:I had the syntax error with the line below: <td class="grid"><img src="../images/bar.gif" width=<xsl:value-of select="cp"/> height="10"/></td>and I don't know how to fix. Please help.JP <xsl:for-each select="wx_l/wx"> <tr> <td class="list"><xsl:value-of select="wx_name"/></td> <td class="grid"><img src="../images/bar.gif" width=<xsl:value-of select="cp"/> height="10"/></td> <td class="list" align="ri
  7. jle

    For-each loop

    Hi All,I am new to XSLT and sorry for the basic question.I have the following for loop in the xsl and my question next to the </td> in the for loop <xsl:for-each select="wx_l/wx"> <tr> <td class="list">buenos_aires</td> (my question : wx_name is here from xml file from <wx_name> ) <td class="grid"><img src="../images/bar.gif" width="30" height="10"/></td> (my question : width="80" from xml file node <cp>) <td class="list" align="right">88%</td> (my qu
  8. Hi All,I have a mock up with will be use the pagination. We have the XML file which will have 1-2000 rows of data and we want to display dynamiclly page 1-10 depending on number of rows in XML file. If the number of rows in XML file is < 200 rows then only one page is display but if the number rows is > 200 and < 400 then page 1 and page2 will be there .... up to 10 pages to allow the user to click on the page number to display list of rows. Like below Page: 1 2 3 4 5 6 7 8 The user has an option to click on 1 to display the first 200 rows and page 2 to display t
  9. jle

    Read data from XML file

    Hi All,Thanks! It worked. It is my mistake I forgot the ">" at the end of string below.It didn't complain anything related to syntax but it didn't work.After I added the ">" to this string as below then It worked.Thanks,JP<xsl:for-each select="appwx_l/wx_l/wx_d|appwx_l/wx_l/wx_c">
  10. jle

    Read data from XML file

    Hi,Sorry it didn't work! Is there any other way.to read the data from two node-sets.Thanks,JP
  11. jle

    Read data from XML file

    Hi,I would like to have the third array which has both wx_c and wx_d. The third array should have the values of first array (endpointNames_d) and second array(endpointNames_c). How can I get the third array which has values of first array+ second array.Thanks,JP
  12. Hi All,I have part of the xsl is defined as below:and now I want to have another array which has both wx_d and wx_c but the wx_name must be sorted.So what should I do. Thanks for the helpJP.var endpointNames_d = new Array();<xsl:for-each select="appwx_l/wx_l/wx_d"> <xsl:text>endpointNames_d[</xsl:text><xsl:value-of select="position()-1"/><xsl:text>]</xsl:text> = "<xsl:value-of select="wx_name"/>,<xsl:value-of select="wx_id"/>"; </xsl:for-each>var endpointNames_c = new Array();<xsl:for-each select="appwx_l/wx_l/wx_c">
  13. jle


    Hi All,I had the following xsl code as defined :<xsl:value-of select="chart/wx_name"/> <xsl:if test="wx_name = 'All Endpoints'" > <td align="right" nowrap="" class="caption"><a href="compression_by_endpoint.htm">Compression by Endpoint</a> </td> </xsl:if>So my logic is if wx_name is "All Endpoints" then href will be display but it didn't work.href didn't display no matter what value of wx_nameCould you please help. Below is the sample of xml data.Thanks,JPXML file:.........................................<chart><wx_name> All Endp
  14. Hi all,I have the following xml is defined as below. Is there any way that we can seperate out the chart properities to seperate file and then include it in the xml file.Please help.Thanks,JL<chart> <axis_category font='Verdana' bold='false' size='11' color='555555' alpha='100' /> <axis_ticks major_thickness='1' major_color='000000' minor_thickness='2' minor_color='0000ff' minor_count='int' /> <axis_value min='0' max='25' steps='5' font='Verdana' bold='false' size='11' color='555555' alpha='100' /> <chart_border bottom_thickness='1' color='808080' /> <
  15. Hi All,I have the xsl as defined below <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:param name="report_title" select="This is Title"/> <xsl:template match="/"> .....and later in the code: <form method="POST"> <table width="700" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="pageTitle">{$report_title}</td> There is problem with the last line. So how to make it correct to set the tit
  • Create New...