> Hi all,
> I have a question regarding the markup, which gwt generates.
> If I use
> HTML test = new HTML();
> The command test.getHTML() returns "<br>", which is html but not
> xhtml. (The function stands to its name)
> However I would like to reuse the final markup of the webpage. So is
> it possible to change the default output from html to xhtml?
manipulates the DOM (mostly, there are cases where it generates HTML
snippets that it gives to .innerHTML; and the generated *.nocache.js
But is this really an issue, given that "the Web" does not do XHTML?
http://hixie.ch/advocacy/xhtml XHTML is dead, HTML is the past (IE6
anyone?), the present and the future (HTML5).
And the *.nocache.js use of document.write() makes unusable within
That begin said, it'd be quite easy to generate a *.nocache.js that
does not do document.write() (it'd be tricky to detect stylesheet and
JS dependencies' load though), and not that hard to have widgets not
to use innerHTML (or at a minimum generate XHTML-compatible, aka
"polyglot", code for use with innerHTML). My opinion is that it's not
worth it, YMMV.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.