Fair enough on all counts.
BTW, the problem went away which I changed the XSLT template's output
method from "xml" to "html". I think I get away with that because i am
using "transitional" (not to sure on my doc-type conventions).
<xsl:output
method="html"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd"
version="1.0"
indent="yes"
standalone="yes"
encoding="ISO-8859-1"/>
Thanks for your comments bob. I'm really looking forward to using
MochiKit!
On Apr 5, 4:11 pm, "Bob Ippolito" <[EMAIL PROTECTED]> wrote:
> On 4/4/07, Terence <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi, I just loaded this thing up for the first time and my JS console
> > gives a warning that says
> > Warning: assignment to undeclared variable MochiKit
> > Source file:http://localhost/spud/js/MochiKit/MochiKit.js
> > Line: 12
>
> > Anyway, I hacked in the "var' keyword and it is OK now. I just find it
> > strange that no one has seen this before, it is such a simple
> > solution.
>
> The excessive warnings are not on by default. "Fixing" them would
> actually break IE support due to really obscure bugs in JScript. Turn
> the excessive warnings of, they're not going to tell you about any
> actual problems in MochiKit.
>
> > ANYWAYS.... ;)
> > document.write not work when Content-Type: text/xml (XHTML in this
> > case)
> > So that pretty much screws MochiKit for XHTML. I assume this issue has
> > aleady been discussed or something? Should I assume that no one found
> > any solutions?
>
> No it doesn't. Include each file individually or use the packed
> distribution. MochiKit.js in the unpacked distribution is *just* a
> loader that can be useful in development (but definitely should not be
> used in production), it doesn't provide any functionality whatsoever.
>
> -bob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---