First page Back Continue Last page Graphics
Type conversion
takes place when data are passed between DOM, XPath and Perl
Automatic:
- operator overloading for XPath/DOM objects in Perl
- XPath to DOM, DOM to XPath (on the C level)
Manual:
- helper Perl functions, such as nodelist():
- $fields = { nodelist(split /-/, “1976-10-05”) };
- ls //issue[@year=$fields[1] and @month=$fields[2]];