getting xml-text from request into instance as xml
Posted by
Heinrich Götzger on
Mar 22, 2011; 11:40pm
URL: https://discuss.orbeon.com/getting-xml-text-from-request-into-instance-as-xml-tp3398083.html
Hi,
I would like to have xml-formatted text which comes with the
request-attributes into the form as real xml into an
instance.
<xf:bind
nodeset="instance('myInstance')/config"
calculate="xxforms:serialize(xxforms:get-request-attribute('myInstance'), 'xml')"/>
is not working as expected/wished. The result differs in look
and feel from writing it directly into the instance.
//config is the har written part
//raw is the input by serialize and this is not usable for my
purposes
I'd like to have it like config somehow.
<instance>
<config>
<service
id="execute-generic-action"
style="document"
type="webservice"
endpoint="http://localhost/myApp/ws/executeGenericAction">
<operation
soap-action="<a class="moz-txt-link-freetext" href="http://">http://localhost/myApp/ws/executeGenericAction/executeAction"
name="execute-action"/>
</service>
</config>
<raw><?xml version="1.0" encoding="UTF-8"?>
<string><service id="execute-generic-action" style="document"
type="webservice"
endpoint="<a class="moz-txt-link-freetext" href="http://">http://localhost/myApp/ws/executeGenericAction"><operation
soap-action="<a class="moz-txt-link-freetext" href="http://">http://localhost/myApp/ws/executeGenericAction/executeAction"
name="execute-action"></operation></service></string>
</raw>
</instance>
And using it in a processor later on is not working
as well.
Thanks
cheers
Heinrich
--
Before printing this e-mail, think about our environmental responsibility.
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws