Re: Content-type for XHTML (was: XMLC, setEnableXTHMLCompatibilty)

David Corbin <[email protected]> Tue, 7 Oct 2003 11:14:22 -0400
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
On Monday 06 October 2003 19:14, Jacob Kjome wrote:
> >   This may, in
> >fact, be exacerbated by the fact that we're sending "Content-type:
> >text/html", but that's being done because there doesn't seem to be an
> > agreed upon solution for xhtml (last time I looked).
>
> For application/xhtml+xml, use....
> -domfactory org.enhydra.xml.xhtml.XHTMLDomFactory
>

When I specify this as my content type, Mozilla displays this,

        This XML file does not appear to have any style information
        associated with it. The document tree is shown below.

followed by an tree version of the XML.  This is not what I want or need.
      
> For text/html, use....
> -domfactory org.enhydra.xml.xhtml.HTMLDomFactory
>
> Does that help?
>
> Jake
>
> _______________________________________________
> XMLC mailing list
> [email protected]
> http://www.enhydra.org/mailman/listinfo.cgi/xmlc