[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] document.write & copy-of
I'm trying to get a JS function to pop-up a window and write into it a copy of a node. Could someone please give me a hand, let me know where I'm going wrong? The window opens, but nothing writes.... Thanks in anticipation, Lee <xsl:template match="table"> <TABLE class="content" width="90%" border="1" cellpadding="4" cellspacing="0"> <xsl:copy-of select="tr"/> </TABLE> <P align="right" class="table_footer"> <xsl:element name="A"> <xsl:attribute name="href"> javascript:Popup=window.open('','IntlPopup','alwaysRaised=1,dependent=1,height=300,location=0,menubar=1,personalbar=0,scrollbars=0,status=0,toolbar=0,width=590,resizable=0'); Popup.focus(); Popup.document.write(' <TABLE> <xsl:copy-of select="tr"/> </TABLE> '); </xsl:attribute> Enlarge this table </xsl:element> </P> </xsl:template> [END] 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
|