File:  [parser3project] / parser3 / src / www / htdocs / Attic / index.html
Revision 1.313: download - view: text, annotated - select for diffs - revision graph
Mon Sep 17 16:49:15 2001 UTC (24 years, 10 months ago) by parser
Branches: MAIN
CVS tags: HEAD
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

E-mail: