On Fri, Jul 29, 2011 at 20:43, Hippo Man <[email protected]> wrote:
>
> Am I out of luck?

I just thought of another idea.

Can I perhaps use some sort of custom function for this purpose?

For example:

context.createPathAndSetValue("/myCastFunc(\"/dataArray[1]\",
\"TheChild\")/varString", "quack");

... or something like that, where "myCastFunc" is a custom-written
function that will take the supplied xpath and cast it to the class
named as the second argument.

Would something like this work for me?

--
 [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to