Sure.  I have a thorough explanation, with sample xml, xsl, and js
files on Stack Overflow :

http://stackoverflow.com/questions/1190763/firefox-not-running-jquery-for-xhtml-output

On Jul 28, 12:10 pm, Eric Garside <gars...@gmail.com> wrote:
> Can you give a sample of the output? How different is the result of
> the transform from valid xhtml?
>
> On Jul 28, 2:55 pm, ScottSEA <william.scott.ba...@gmail.com> wrote:
>
> > On Jul 28, 9:55 am, ScottSEA <william.scott.ba...@gmail.com> wrote:
>
> > > Until recently, I was humming along happily with my jQuery and HTML...
> > > life was good.  Sadly, the Powers That Be have ordained that Thou
> > > Shalt Useth XHTML - so let it be done.
>
> > > I've undergone the process to convert to XHTML - all is valid and all
> > > is well... but no.  Firefox treats XHTML as XML.  jQuery is designed
> > > for HTML - when appending / prepending / removing it uses the innerHTML
> > > () function, which of course doesn't work for XML/XHTML.
>
> > > Lest you despair, there is indeed a question in here.  Does anyone
> > > have a recommendation for using XHTML and jQuery?  I'm not overly
> > > excited about writing my own plugin, so if someone has already done
> > > the heavy lifting, could you point me in the right direction?
>
> > Serious omission on my part:
>
> > These are all *local* .xml files that are transformed by stylesheets
> > to render xhtml.  Ergo, no specifying of doctype, mimetype, no server,
> > nuttin'.  Just local files - and the <xsl:output method='xml'> is the
> > problem.  If I change it to HTML, then everything works fine - but
> > it's no longer XHTML.  The three options are text, xml or html - xhtml
> > is not a valid choice.

Reply via email to