No, it doesn't handle pages or pages. The script (above) is generating an RSS feed (of entries) which WordPress then imports. (Just like the situation with Bolt.)
PS! You probably don't even have to use the script above. Just modify the standard PivotX feed to include all entries in complete form, save the feed and use the RSS import in Wordpress. Read the Wordpress documentation -
importing from Pivot (which I could update so it is correct for PivotX) and
importing from RSS.
Added:Just for the record: Bob wrote an WXR exporter (like the one eduh wrote above), but as a PivotX extension - see
this forum post.
Added:Hm, the WXR exporter from Bob actually handles pages. This is interesting in relationship with Bolt's WXRImporter. I'll look into the extension this week.