XPath and object trees

samtregar on 2003-02-11T02:53:41

Check out this post on PerlMonks to read about the work I did today integrating XPath into a module I'm working on. I think this could be a useful technique for many situations.

-sam


PerlPath

Matts on 2003-02-11T07:59:47

One thing the resident Dahuts have long discussed is something we coined "PerlPath" - basically an XPath for perl data structures. I think it would be really cool to build an XSLT-like templating solution using PerlPath to specify the nodes of your data structure.

Re:PerlPath

samtregar on 2003-02-11T15:59:29

Strangely enough, I like XPath but I loathe XSLT! XPath seems to me to be a really elegent way of expressing complex tree traversals. XSLT on the other hand seems like a really complex way of expressing simple programming constructs (like, say, map).

-sam

Nice

Theory on 2003-02-11T19:07:48

Hrm, nice. Think I'll borrow that. ;-)

--David