Re: [xsl] Convert a node-set to a string

Subject: Re: [xsl] Convert a node-set to a string
From: Brandon Ibach <brandon.ibach@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 25 Mar 2011 16:15:01 -0400
On Fri, Mar 25, 2011 at 2:47 PM, David Frey <dpfrey@xxxxxxx> wrote:
> I essentially am trying to do something like this with my extension
> function:
>
> String extensionFunction(String inputXml)
> {
>    MyObject x = new MyObject();
>    x.unmarshal(inputXml);
>    return x.someComplexOperation();
> }
>
> So I want the extension function to parameter to be an XML string, not an
> escaped XML string.

If, by "unmarshal", you mean parse, then I have to question what the
value is of serializing the node set only to immediately reverse the
process.  Perhaps you can tell us more about the overall problem
you're trying to solve?  There might be a simpler solution.

-Brandon :)

Current Thread