Skip to Content
author's profile photo Former Member
Former Member

Manipulating XML into VC Table

Hi, have a web service that is returning XML into VC response field, but I wish to manipulate it into a table.

XML data example:

<mydata>

<element><name>brian</name><age>38</age></element>

<element><name>fred</name><age>56</age></element>

<element><name>susan</name><age>23</age></element>

</mydata>

How do I put it into a table with headers:

Name Age

Thanks

Brian

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 10:31 AM

    Hi Brian,

    how would you like to display it? I think for Visual Composer the XML file is a string so, you have to modify your webservice so that you get several strings in an array, but it depends on your requirements.

    Best Regards,

    Marcel

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.