This page is no longer maintained — Please continue to the home page at www.scala-lang.org

XML Query

No replies
Christopher Schmidt
Joined: 2009-11-09,
User offline. Last seen 42 years 45 weeks ago.

Hello, I have f.e. this XML file:

1.234

5.678

1.234

5.678

In Java I used this xPath query...

"//daotype/dao[@id='" + daoId + "']/property"

...to get all the "property"-nodes and put them into a HashMap with "daoId"
as key.

Are there any examples how to do this in Scala?

Regards CS

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland