0
Help Creating Complex XML document
Contributor
,
/t5/coldfusion-discussions/help-creating-complex-xml-document/td-p/3853587
Jan 05, 2012
Jan 05, 2012
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> |
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/coldfusion-discussions/help-creating-complex-xml-document/m-p/3853588#M140726
Jan 05, 2012
Jan 05, 2012
Copy link to clipboard
Copied
Do something like this:
<cfxml>
<types>
<cfoutput>
more data
closing tags
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

