From: Derek Hohls [mailto:[EMAIL PROTECTED]]
Konstantin
Thanks - this works fine when the JavaScript is included in
the XSL file - does not work when the JS is a separate,
linked file, tho'.
Hm... So, what's the result? If you include a file then it must become
something like:
script
Take into account that for XSL transformation you always have to put something
inside script element because HTML will be incorrect if there will be
script .../ tag after XSL transformation (if it is your case). Such a
script tag will be treated as unclosed in HTML. So you have to put at least
Konstantin
Thanks - this works fine when the JavaScript is included in
the XSL file - does not work when the JS is a separate,
linked file, tho'.
Derek
[EMAIL PROTECTED] 22/03/2002 04:26:19
From: MJ Ray [mailto:[EMAIL PROTECTED]]
Derek Hohls wrote:
write('html');
Konstantin
Thanks - this works fine when the JavaScript is included in
the XSL file - does not work when the JS is a separate,
linked file, tho'.
Derek
[EMAIL PROTECTED] 22/03/2002 04:26:19
From: MJ Ray [mailto:[EMAIL PROTECTED]]
Derek Hohls wrote:
write('html');
Hi
A very stupid -but frustrating - problem this:
I have an XSP generating an XML file and being transformed by XSL -
nothing new here.
When I look at the resultant HTML, tho', I see a line:
META http-equiv=Content-Type content=text/html; charset=UTF-8
has been added below the html (that I
Derek Hohls wrote:
write('html');
write('head');
in the XSL file, and causing it to become:
I think it's because cocoon sees the tags, not the context. Rather, to
cocoon, the tags are the context and the rest is just so much content.
Probably a good thing generally, but it's
I've tried the (''+'head') without success... sorry.
I've also tried including the function in a separate file, but with
the same lack of result - at the end, I think, because, its also
processed by Cocoon - and, even if this did work, its only a
quick fix because, in some cases, the javascript
On 22.Mar.2002 -- 03:19 PM, Derek Hohls wrote:
I've tried the (''+'head') without success... sorry.
I've also tried including the function in a separate file, but with
the same lack of result - at the end, I think, because, its also
processed by Cocoon - and, even if this did work, its
On 22.Mar.2002 -- 10:26 AM, Derek Hohls wrote:
No big deal? But, whatever is doing this, is doing the same thing
to a javascript snippet that has:
write('html');
write('head');
On another note: since XML doesn't know about JS strings, what happens
here is
-Original Message-
From: Derek Hohls [mailto:[EMAIL PROTECTED]]
Sent: 22 March 2002 13:20
To: [EMAIL PROTECTED]
Subject: Re: Where is META tag coming from?
I've tried the (''+'head') without success... sorry.
I've also tried including the function in a separate file
That META tag is injected by the HTML serializer - one of the
standard serializers in the W3C XSLT recommendations - see
section 16.2 HTML output method. I don't know how you
override it.
WBB
-
Please check that your
11 matches
Mail list logo