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.