How Can i create this especific xml using structNew()?
Hi everyone!
I'm starting my first steps using coldfusion technology and i have been facing some problems when i try to create a client that consumes my webservices.
What i trying to do is:
to create this kind of xml structure:
<elem att1="1" att2="2"/>
i use this coldfusion code:
elem= structNew();
elem.att1= "1";
elem.att2= "2";
But, what if i want to create this kind of structure
<elem att1="1" att2="2">ELEMENT VALUE</elem>
what can i do to insert the element value "ELEMENT VALUE"
I tried structInsert, but i don't think it'll help me.
Thank in advance,
Felipe
