Re: xsl:output method=xhtml

Jonas Sicking <[email protected]> Wed, 02 Jan 2008 10:51:56 -0800
Newsgroups gmane.comp.mozilla.devel.layout.xslt
Message-ID <[email protected]>
twostepted wrote:
>> I'm not sure what the relationship is between XForms and XHTML is.  Are you
>> talking about the XForms initiative of HTML forms that happen to be in a
>> XHTML document?
> I'm using the Mozilla XForms Extension (http://www.mozilla.org/
> projects/xforms).  And yes I believe that we're thinking of the same
> XForms (http://www.w3.org/MarkUp/Forms/).  The reason that I believe
> <xsl:output method="xhtml" ... /> is essential is because <xsl:output
> method="html" ... /> is stripping out the namespaces.
> 
>> Have you crafted the desired output manually and tested it as working then
>> compared your hand crafted output with the generated output of your XSL?
> Yes, I have tested that the output of my XSL works by setting
> <xsl:output method="xml" ... /> and copying the contents of the
> transform into a .html document.  This works well and I am able to see
> and work with the XForms components.
> 
> Can you see what my problem is?  It seems to like Firefox doesn't
> support <xsl:output method="xhtml" ... /> and this is exactly what I
> need to make make my XForms XSL work.

It's a known problem with the XForms code. See
https://bugzilla.mozilla.org/show_bug.cgi?id=294612

/ Jonas