RE: QUESTION: unexpected tokens

Subject: RE: QUESTION: unexpected tokens
From: Mark Birbeck <Mark.Birbeck@xxxxxxxxxxxxx>
Date: Tue, 6 Apr 1999 15:05:38 +0100
Problem is probably with putting a CR+LF into an attribute. Try putting
everything on one line. If XT can be told to 'not preserve white space'
then tell it to strip it. I use MS which I know can't do this, but I
have no experience with XT.

Regards,

Mark

> -----Original Message-----
> From: Linda van den Brink 
> Sent: 06 April 1999 13:53
> To: Xsl-List (E-mail)
> Subject: QUESTION: unexpected tokens
> 
> 
> Here's a question about allowed tokens in an XSL stylesheet. 
> 
> I use XT to generate HTML pages from an XML source file, but it stops
> processing at some point, complaining about an "unexpected 
> token". This is
> the fragment that creates the problem: 
> 
> <xsl:template match="contents">
> 	<body onLoad="	document.onmouseout = function e () {
> change('origin') };
> 			document.onmouseover = function e () {
> change('origin') };
> 			document.onmousedown = function e () {
> change('inset') };
> 			document.onmouseup = function e () {
> change('origin') };
> 			window.defaultStatus = ('');">
> </xsl:template>
> 
> The problem occurs on the line starting with "<body onLoad".
> 
> Linda
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread