Parse.com Cloud Code Evaluate xPath?



I am new to using Parse.com cloud code, and am mainly a iOS developer. In iOS I use Hpple, an xPath evaluator to parse an xml document. I now need to do this in my cloud code. I was wondering if there is already a way in the Javascript SDK to do this with expressions like


xpath expression:



//book/title/name


to evalute this:



<book>
<title lang="en">Harry Potter</title>
<price>29.99</price>
</book>


This would return the string "Harry Potter". Is there a way to do this in the Java SDK or are there any modules that I can install into parse's cloud code that can evaluate xml like this?


Thanks so much for the help in advance.


No comments:

Post a Comment