[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] best way to call doGet on servlet using xsl?
I use xsl on my xml to generate html on the client using xalan. On the html i provide hyperlinks back to the server using hrefs as below <tr> <td> <div> <a> <xsl:attribute name="HREF">javascript:cl('../servlet/test1?TranType=login&subTran=navFi rst&linkData=<xsl:value-of select="Data"/>&')</xsl:attribute> <img src="../images/treetop.gif" border="0" alt="Show document directory"/> </a> </div> </td> </tr> where cl is a javascript function in an external .js file as below function cl(org){ window.location=org+"s="+Math.random(); } return; } Is this the best way to do this? I wanna know what other developers use to call servlet doGets using xsl, since I do not know anyone else who uses xsl. Please let me know and I appreciate the help Thanks. TP. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|