>The problem now is that I need to return the data as something the stylesheet > can use to select values from.
Have the extension run it through a DOM parser and return the root node. I don't remember offhand whether Xylem will consider that a nodeset or an RTF; if the latter, you'll have to use the exslt node-set extension to put it into a form Xalan can apply XPaths to. ______________________________________ "... Three things see no end: A loop with exit code done wrong, A semaphore untested, And the change that comes along. ..." -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (http://www.ovff.org/pegasus/songs/threes-rev-11.html)