Coding for Mobile Platforms

Random thoughts, sometimes relevant to mobile programming.

  • Mobile Coder

  • Subscribe to Mobile Coder and receive notifications of new posts by email.

    Join 183 other followers

Posts Tagged ‘regex’

Using Regular Expressions to parse XML

Posted by error454 on 08/01/2010


My first Android project was a dashboard status widget for World of Warcraft servers.

WoW Status Widget

I’ve done my share of XML reader coding in .NET and I wasn’t thrilled about using the XMLReader Java class.  In my experience, the methods for parsing an XML structure are not simple or elegant, it always feels like too much code to  arrive at the data you want. I love XML for what it is, it’s great for serializing classes (if those classes are under your control) but I hate working with it from a parsing perspective.  If your experience is different, please enlighten me!

Read the rest of this entry »

Posted in Android, Java | Tagged: , , | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 183 other followers

%d bloggers like this: