@noober updated with an example. localStorage is a document storage so it's noSQL. You store JSON data by (unique) key.
–
RaynosJun 7 '11 at 10:58

If I have the table in JS initially, I'd better write a function with operator 'for'. I want to keep the data separately, say, in XML. Since it looks impossible to read local XML file, the best solution is design-time [XML]->[JS array] converter.
–
nooberJun 7 '11 at 11:13

@noober or keep the the data in JSON rather then XML. Then include it as <script>
–
RaynosJun 7 '11 at 11:15