Menu

Project is vague...and possibly unnecessary..

David Luu
2008-01-06
2013-05-22
  • David Luu

    David Luu - 2008-01-06

    Could provide more details on project like what kind of implementation? C, C++, Java, .NET? Could also project a page describing the conversion of XML to CSV format, what will the output be like? What range of XML formats are supported?

    If this project is more of a tutorial on XML to CSV conversion, then that's ok, otherwise, I'm not sure about the feasibility of such a project as well. Since XML and CSV are data formats that allow the user to define the exact data structure (field names, data types). And thus, not sure if one can define a generic XML to CSV conversion that is suitable for most people.

    Ideally, it is more efficient to simply use XSLT to transform the input XML to the desired output CSV. This is relatively easy to do if one knows the basics of XSLT and this can also be done with trial and error using an XSLT/XML editor to test with. You only need to write the XSLT once and it can be used many times. Only need to modify if input or output format changes. This way, XML to CSV transformation is customized for the exact XML input format and the exact desired CSV output format. And there are many  XML/XSLT processors available for most languages and platforms.

    The only case where a conversion tool would really be necessary or helpful would be to do the reverse - CSV to XML, because you can't do the transformation simply with XSLT alone.

     
    • David Luu

      David Luu - 2008-01-06

      Sorry, didn't fully look over the project. I see that it is Java-based and for Windows platform? That answers one of my question. But if this is still an application project, I don't really see the reason for it since there's already XSLT for this job.

       

Log in to post a comment.