all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
4
Task/XML-XPath/Mathematica/xml-xpath.math
Normal file
4
Task/XML-XPath/Mathematica/xml-xpath.math
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
example = Import["test.txt", "XML"];
|
||||
Cases[example, XMLElement["item", _ , _] , Infinity] // First
|
||||
Cases[example, XMLElement["price", _, List[n_]] -> n, Infinity] // Column
|
||||
Cases[example, XMLElement["name", _, List[n_]] -> n, Infinity] // Column
|
||||
Loading…
Add table
Add a link
Reference in a new issue