|
|
started dnode+dom
dnode
DOM methods:
$node.name
$node.value
...others...
^node.xpath[/rates/USD] = hash
$hash[
$.0[node0]
$.1[node1]
]
@main[]
^xslt[]
@xslt[]
$dom[^dom::set{<?xml version="1.0" encoding="windows-1251"?>
<people>
<man id="1">
<name>PAF</name>
</man>
<man id="2">
<name>دبش</name>
</man>
</people>
}]
$people[^dom.xpath[/people/man/name]]
^for[i](0;^people._count[]-1){
z$people.$i.first-child.value<br>
}
OK