I have an xml file with this structure:
<a>
<b attribute="54" name="Bob" ... >
<c name="Foo" stuff="89" attr="First line
Second line" ... />
<c name="Bar" stuff="23" attr="Blahs" ... />
...
</b>
...
</a>
I would like to get this data in a csv file looking something like:
b_attribute, b_name, ... , c1_name, c1_stuff, c1_attr ... , c2_name, c2_stuff, c2_attr ...
"54", "Bob", ..., "Foo", "89", "First line
Second line", ..., "Bar", "23", "Blahs", ...
some of the tags’ values may contain html commas and quotes.
How’s this:
Additional substitution rules can be added by adding additional
<sub>elements to the<values:substitutions>element.