Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/XML-Input/Aikido/xml-input.aikido
Normal file
14
Task/XML-Input/Aikido/xml-input.aikido
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import xml
|
||||
|
||||
var s = openin ("t.xml")
|
||||
var tree = XML.parseStream (s)
|
||||
|
||||
foreach node tree {
|
||||
if (node.name == "Students") {
|
||||
foreach studentnode node {
|
||||
if (studentnode.name == "Student") {
|
||||
println (studentnode.getAttribute ("Name"))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue