In addition to XPATH for TT2, I've found the XML::Simple plugin very easy to work with.

I don't think XSLT gurantees correct XHTML anymore than TT2 does, so your decision should probably be based on ease of use and performance.

In reply to Re: XSLT vs Templating? by perrin
in thread XSLT vs Templating? by Masem

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":