WBXML4R: WBXML for Ruby
Posted by tom February 4th, 2007
Today I’ve created my very first Ruby Extension: WBXML4R. It’s a pretty simple extension, but I needed it very badly. It translates WAP Binary XML to XML and back, now if somebody can explain me how to wrap this in a gem I’d appreciate it. It uses wbxml2-0.9.2 available from here. If you want it drop me a mail.
The idea for it’s use is simple: I want to write a small Ruby server which will allow my P990 to sync with it.
Read the rest of this entryXPath: How to get a node with a certain highest or lowest value?
Posted by tom January 28th, 2007
Answer, simple: /bookstore/book[price=max(/bookstore/book/price/text())]
See the example XML document at W3 Schools
