Hi Everyone,
I would like to make up an HTML document using HTML*ElementImpl classes, and then I would like to serialize it as XHTML. Here is how I set up my serializer:
OutputFormat output = new OutputFormat();
output.setDoctype(OutputFormat.DTD.XHTMLPublicId,
OutputFormat.DTD.XHTMLSystemId);
output.setIndenting(true);
XMLSerializer cereal = new XMLSerializer(System.out, output);My document starts like this:
HTMLDocumentImpl html = new HTMLDocumentImpl();
html.setTitle("foo");
HTMLDivElementImpl aDiv = new HTMLDivElementImpl(html, "div");
html.getBody().appendChild(aDiv);Now, if I just take some random XML document with 'div' and similar tags in it, and then output it, they come out lower case. But these HTML*ElementImpl classes always have uppercase tags. Is there an easy way to force them into lower case mode? Or do I have to replace them to get valid XHTML?
_jason
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
