Expand my Community achievements bar.

Convert xml type variable to a document type variable

Avatar

Level 8
Level 8
Hi all,



I am just wondering how I can wrap an xml variable in a document variable. I have tried with a simple set value, but I am really not sure it works correctly.



Hope you can help me.



Sincerely

Kim Christensen
2 Replies

Avatar

Level 10
You can use a setValue to store XML into document variable. Something like /process_data/@myDoc = /process_data/myXML



This will work.



Jasmin

Avatar

Level 8
Level 8
Hi again,



Cool, it works, I just thought it would need to be represented in binary or something.



Thanks for your help



Sincerely

Kim Christensen