troubleshooting Question

Convert XML to CSV

Avatar of greenrc
greenrc asked on
Web Languages and StandardsXML
5 Comments1 Solution88549 ViewsLast Modified:
I need to convert an XML file into a CSV file.

If i have an XML file formatted as follows:

<root>
<table1 id="100" description="this is a test" anotherfield="test test" />
<table1 id="101" description="this is a test" anotherfield="test test" />
<table1 id="102" description="this is a test" anotherfield="test test" />
<table1 id="103" description="this is a test" anotherfield="test test" />
</root>

The transformation needs to handle more fields
than shown in the example XML file above. Is there a way to loop through attributes?

Can you please provide me with a sample XSL file to  tranform.

Thanks
ASKER CERTIFIED SOLUTION
robbert

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros