Copy link to clipboard
Copied
How do I create a complex xml with <cfxml>
The Query has vehiclebrand, and each vehiclebrand has other models of vehicles within the brand and each has its own depended attributes.
E.G. something in the below that drills down to the details. I need to have this created in an xml and also create a webservice for it.
<vehiclebrand>
<types>
<audi>
<models>
<a7>
<powerstearing>
etc.................
</powerstearing>
<year>
<year>
</a7>
</models>
</audi>
</types>
</vehiclebrand> |
Copy link to clipboard
Copied
Do something like this:
<cfxml>
<types>
<cfoutput>
more data
closing tags