Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/XML-XPath/PicoLisp/xml-xpath.l
Normal file
12
Task/XML-XPath/PicoLisp/xml-xpath.l
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
(load "@lib/xm.l")
|
||||
|
||||
(let Sections (body (in "file.xml" (xml)))
|
||||
(pretty (car (body (car Sections))))
|
||||
(prinl)
|
||||
(for S Sections
|
||||
(for L (body S)
|
||||
(prinl (car (body L 'price))) ) )
|
||||
(make
|
||||
(for S Sections
|
||||
(for L (body S)
|
||||
(link (car (body L 'name))) ) ) ) )
|
||||
Loading…
Add table
Add a link
Reference in a new issue