- Joined
- Mar 5, 2014
- Messages
- 94
- Reaction score
- 5
Hi,
Just getting my head around VAD and would appreciate some help.
I'm trying to return "complex" XML (as the manual calls it) where the XML returned has multiple elements in it. Is it possible to access the data of the child-elements once it's in the return variable? The manual doesn't really say one way or the other
and then based on the value of <enabled> I want to give them either menu A or menu B how would I use this in the following "conditional" block?
Thanks.
Andrew.
Just getting my head around VAD and would appreciate some help.
I'm trying to return "complex" XML (as the manual calls it) where the XML returned has multiple elements in it. Is it possible to access the data of the child-elements once it's in the return variable? The manual doesn't really say one way or the other
So this suggests that the full returned data is stored, but how do I access it? For example if I returnResult: contains the root element content extracted from the XML returned by the web service. If the return value is a complex XML, this property will contain the complex XML, except the removed root element. In simple xml web services, the answer is usually a plane value into the root element of the response (this component is designed to be used when executing simple xml web services).
Code:
<response><type>1</type><enabled>false</enabled></response>
Thanks.
Andrew.