What I'm trying to export to, CSV:
joe,phone1,phone2,phone3,
sue,cell4 ,home5,,
alice,atrib6,x7,y9,z10
What needs to be done so that it can be exported to CSV:
<ul>
<li>joe</li>
<ul>phone1</ul>
<ul>phone2</ul>
<ul>phone3</ul>
<li>sue</li>
<ul>cell4</ul>
<ul>home5</ul>
<li>alice</li>
<ul>atrib6</ul>
<ul>x7</ul>
<ul>y9</ul>
<ul>z10</ul>
</ul>
But not sure how to get from the above list, which I can rewrite as XML,
to something which BaseX can then export as the desired CSV. I know
that it has to be wrapped in <csv> and that <record> is used, as well.
Something like:
<csv>
<record>
<Name>Huber</Name>
<First_Name>Sepp</First_Name>
<Address>Hauptstraße 13</Address>
<City>93547 Hintertupfing</City>
</record>
</csv>
is what I see in the documentation, but not sure how to get there.
thanks,
Thufir