Synthoid / ExportSheetData

Add-on for Google Sheets that allows sheets to be exported as JSON or XML.
MIT License
234 stars 46 forks source link

(XML) Easy substitute for 1 level deep XML NESTING #155

Open ged-mc opened 1 year ago

ged-mc commented 1 year ago

Thanks Chris. ESD is great! I sent you $50 yesterday in appreciation.

Is your feature request related to a problem? Please describe. Yes - Nested elements in XML are not yet supported - and I appreciate how hard this will be to implement

Describe the solution you'd like I think a useful form of faux nested XML elements can be achieved using attributes in column titles

By allowing us to hardcode an attribute into a GSheet Column title it would really increase the power available to us and this can in part make up for the lack of nesting in XML

Just allow us to hardcode ALL column titles / child elements with attributes perhaps like column_title [some_attribute = "text"]

image

Exporting as:

image

In code we can loop and configure by attribute. Thanks anyway!