richip Posted February 20, 2012 Share Posted February 20, 2012 Is there an XML specification for defining structured data file formats (e.g. CSV files of a fixed number of columns/fields)? I've got some structured data that I'd like to export into various file formats (depending on the requirement) and would like to modularize the exporting of the data to files. Googling around resulted in just one hit (some Microsoft XML standard which had elements like COLUMN, ROW, FIELD, etc.) Is there perhaps a standard out there, ideally with implementations in Java? Link to comment Share on other sites More sharing options...
boen_robot Posted February 23, 2012 Share Posted February 23, 2012 Being a structured data format, similarly to CSV is what XML is all about...There are no fixed semantics to any elements, but facts like "elements can contain zero or more elements", "attributes are parts of elements", "attributes must be unique per element", etc. are part of the XML standard.If what you're after is a table, you could use an XHTML table. If the data you want to store is closer to being a graphical kind of data, SVG might be more suitable. And if all else fails, you can always define a custom dialect. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.