Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 

Go Back   XSL - XML - RSS Forums > XSLForum: Main > XSL Coding General

Tags: ,



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-10-2008, 12:25 PM
Junior Member
 
Join Date: Oct 2008
Posts: 1

Default using javascripts in xsl



Hello,
I'm trying to use this script with my xsl but i get parse errors.
Quote:
<script type="text/javascript">
<!--
function radio_player() {
props=window.open('radioplayer.php?lang=&z=wmp&con fig=config', 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=1, width=320, height=142 left = 100, top = 100');
}
// -->
</script>
Quote:
<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
<xslutput omit-xml-declaration="no" method="html" doctype-public="-//W3C//DTD XHTML 1.0 Strict encoding="UTF-8" />
<xsl:template match = "/myfolder" >
<html>
<head>
<title>welcome here</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
I added javascript inside <head></head> but i got the parse error becuase i had to remove <!-- before function as xsl content between it.
Thanks for your help
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Contact Us -|- XSL - XML - RSS Forums -|- Archive -|- Top -|-Rules/Disclaimer-|-Help/Support -|-Advertise
© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
All times are GMT. The time now is 09:59 PM.
Style Developed by Epic Designz