Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Help Creating Complex XML document

Contributor ,
Jan 05, 2012 Jan 05, 2012

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>
574
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 05, 2012 Jan 05, 2012
LATEST

Do something like this:

<cfxml>

<types>

<cfoutput>

more data

closing tags

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources