If you just want to pass it to another extension, you can return the array and we'll pass it through.
But XSLT itself can only process XSLT's native datatypes, and in XSLT 1.0 there's nothing that corresponds to array-of-strings. You need to convert it into something we can handle -- a single string separated by delimiters (which means you have to tease it apart again, which is painful), or a set of nodes (which currently seems to be possible only by returning a DOM fragment) would seem to be your best choices. XSLT 2.0 adds the concept of "sequence"; as we move in that direction we might want to enhance extension support so it can treat returned arrays or vectors as sequences (and vice versa when passing parameters to an extension). But our XSLT20 code is still in early-draft stages, and sequences are one of the major reason it's been slow going (along with other datatype changes). ______________________________________ Joe Kesselman / IBM Research
