You can check out extension functions for saxon:
http://saxon.sourceforge.net/saxon7.4/extensions.html
This:
<copy>
<from xmlns:saxon="http://saxon.sf.net/"
expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xquery1.0">saxon:parse(xsd:string($msg.part/some-element/text()))</from>
<to variable="some"/>
</copy>
solves your problem.
But beware that root element is going to be overwritten or lost during
copy (because copy by default uses destination's element as root).
2009/10/22 Nazar Annagurban <[email protected]>:
>
> Hello everyone,
>
> Let me first explain my case, my process receives a reply from a web-services
> that has a string element which contains <![CDATA[ xml ]]>, and I need to
> convert this xml string into a nodeset for use. How would I go about doing
> this in bpel for Apache ODE? Netbean's bpel designer has an marshal/unmarshal
> function, but it's a SUN specific extension. Is there something equivalent in
> ODE that I missed? From what I read this is not possible to achieve with mere
> XSL transformation. Any suggestions would be welcome.
>
> Nazar
>
> _________________________________________________________________
> Windows Live: Make it easier for your friends to see what you’re up to on
> Facebook.
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009
Regards,
--
Rafał Rusin
http://www.touk.pl
http://top.touk.pl
http://people.apache.org/~rr/