1

I'm building a table script and one of the functionalities is to convert XML, CSV data to HTML and vice-versa.

I found some similar scripts on the web, that converts CSV to HTML and vice-versa but didn't find for XML.

I'm writing the script from scratch, but I thought I'd better read few scripts before I write my own, to avoid mistakes and bugs. My question is, do you have/know a script that does this work?

Also any other advice, comment or idea is appreciable. Thanks!

(Note: I use jQuery as Framework)

1 Answer 1

1

CSV to html is easy assuming the columns are fixed, HTML to CSV is tricky if the earlier assumption fails. XML to HTML is not straight forward - reasons: 1. name spaces 2. multi-valued data ( forget absence of schema or DTD). Retaining commutative property is not easy without making trade-offs.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.