Chad Armstrong wrote:
> Ok you almost have me sold, the only thing that still raises concerns
> about externalizability is the bit about:
> findvalue('preceding-sibling::td[1]/a')
>
> It seems like there are multiple script points that are tied to a
> particular page, not just the XPath query. I guess that just means I
> would need multiple configuration strings for a single target URL.
Well, that just came to mind when I quickly wrote that script. It is
certainly possible to write a single XPath expression that extracts both
parts of the pair (city,time) all at once. Peruse an XPath tutorial--you'll
find it surprisingly powerful.
- Mark.
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates