Current code:
row.column.each(){column ->
println column.attributes()['name']
println column.value()
}
Column is a Node that has single attribute and a single value. I am parsing an xml to input create insert statements into access. Is there a groovy way to create the following structured statement:
Insert INTO tablename (col1, col2, col3) VALUES (1,2,3)
I am currently storing the attribute and value to seperate arrays then popping them into the correct order.
Thanks