Nope, the GWT parser is actually just JSNI calls to the browser's  
parser and since the browser doesn't exist on the server, it couldn't  
really work.

There are plenty of XML libs for java though.

-jason

On Apr 16, 2009, at 9:50 AM, Soren Johnson wrote:

>
> oops, what I was actually trying to do is use GWT's XMLParser on the
> server-side. This is forbidden, apparently. Is there anyway to get
> around this restriction? I would love to be able to have one piece of
> code that parses the same piece of XML on the client as well as the
> server. I don't want to have parallel but different pieces of code
> that do essentially the same thing on the server as on the client...
>
> On Apr 16, 2:10 am, olivier nouguier <olivier.nougu...@gmail.com>
> wrote:
>> Hi,
>> What it the output ?
>> Did you inherit "XML" module.
>>
>> On Thu, Apr 16, 2009 at 9:04 AM, Soren Johnson  
>> <soren.john...@gmail.com>wrote:
>>
>>
>>
>>> I can't seem to get XMLParser.parse() to work, even with what looks
>>> like valid XML. Do I need to remove all the '\n' and '\r' from the
>>> String? Is there another common gotcha? thanks...
>>
>> --
>>    “There are two ways of constructing a software design: One way  
>> is to make
>> it so simple that there are obviously no deficiencies, and the  
>> other way is
>> to make it so complicated that there are no obvious deficiencies.  
>> The first
>> method is far more difficult.”
>>
>>    Sir Charles Anthony Richard Hoare
> >


--~--~---------~--~----~------------~-------~--~----~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to