Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

samtregar (2699)

samtregar
  (email not shown publicly)
http://sam.tregar.com/

Journal of samtregar (2699)

Monday February 10, 2003
09:53 PM

XPath and object trees

[ #10517 ]
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • PerlPath (Score:3, Interesting)

    by Matts (1087) on 2003.02.11 2:59 (#16872) Journal
    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 (Score:4, Interesting)

      by samtregar (2699) on 2003.02.11 10:59 (#16888) Homepage Journal
      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

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

    --David