Hello Everyone, How to 'cast' or 'transform' a "com.google.gwt.xml.client.Document" to a "com.google.gwt.dom.client.Document" ???
I'm dealing with the requirement of handling DOM elements retrieved by a server (as an HTTP "xml/text" response), parse them with XMLParser and them into an existing document: I handle the DOM of the current page with com.google.gwt.dom.client.Document and com.google.gwt.user.client.DOM. I handle the HTTP request with the RequestBuilder. I parse them with com.google.gwt.xml.client.XMLParser. However the "com.google.gwt.xml.client.XMLParser" do return a "com.google.gwt.dom.client.Document", and I cannot add it to a "com.google.gwt.dom.client.Document" because appendChild does not accept as input a "com.google.gwt.xml.client.Element": it wants a "com.google.gwt.doc.client.Element". Can you help me in find the right direction resolve this (I'm using eclipse)? Thanks, Cristiano --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---