/* Scriptol Example "Animals" Requirement: - Scriptol interpreter, version A-24 or - Scriptol C++ compiler version 6.1 Load an XML file, read data and values of attributes, perform searches on attributes and values. */ include "libdom.sol" dom p p.load("animals.xml") p.reset() p.at("fish") p.at("squale") text num = p.getData() print p.getName(), ":", num.trim() , "animal" + plural(int(num))