XML/XPath: Difference between revisions
Content deleted Content added
Add XPaths corresponding to the original solution semantic |
→{{header|Scala}}: Change second task to follow semantics of the original example |
||
Line 2,779:
</item>)
scala> xml \\ "price" map (_.text) foreach println
scala> val names = (xml \\ "name").toArray
|