[Users] BPEL: How "DoXslTransform" instruction works ?

RudyWI rudywi at gmail.com
Wed Mar 16 10:58:46 CET 2011


Thx Julien, you solved a part of my problem.

I called doXslTransform like that :

Code:
<![CDATA[bpel:doXslTransform("urn:stylesheets:transformInput.xsl", $portalInputMessage.parameters)]]>



Now, I have a problem with the return of doXslTransform :

When I execute my Xsl Stylesheet on my computer, I have the following result :

Code:
<?xml version="1.0" encoding="UTF-8"?>
<sref:service-ref xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
  <tag1>
     <tag2>value1</tag2>
     <tag3>value2</tag3>
  </tag1>
</sref:service-ref>



But, if I execute this transformation with "doXslTransform", I have the following result :

Code:
<sref:service-ref xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" reference-scheme="?" xsi:type="sref:ServiceRefType">
  &lt;tag1&gt;
    &lt;tag2&gt;value1&lt;/tag2&gt;
    &lt;tag3&gt;value2&lt;/tag3&gt;
  &lt;/tag1&gt;
</sref:service-ref>



Do you know why I have not a correct XML with "doXslTransform" ?




-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications.

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=31020#31020

-------------------- m2f --------------------






More information about the Users mailing list