And just to mention one of my favourite XML libs for java: you should
check XStream, it has some really nice features and it's pretty easy
to use.

On Apr 16, 6:21 pm, Jason Essington <[email protected]> wrote:
> 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 <[email protected]>
> > wrote:
> >> Hi,
> >> What it the output ?
> >> Did you inherit "XML" module.
>
> >> On Thu, Apr 16, 2009 at 9:04 AM, Soren Johnson  
> >> <[email protected]>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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to