XML and Excel

Pages in this article

  1. What is XML
  2. Characteristics of XML
  3. Structure of XML
  4. XML Schemas
  5. XML in Excel
  6. XML Validation
  7. Conclusion

Characteristics of XML

XML has a number of important characteristics (reprinted from
Professional Excel Development with permission from Addison Wesley):


 


Comments

All comments about this page:


Comment by: rahmat (10-2-2011 10:23:55) deeplink to this comment

i dont use xml. i have no idea about it.
what is its function and what purpose it need?
how xml is used?


Comment by: Jan Karel Pieterse (11-2-2011 04:00:31) deeplink to this comment

Hi Rahmat,

You'll know when you need xml, it is when you get an xml file from some source and you're asked to work with the data in that file.
As long as you do not have any xml files to work with, you don't need this option of course.


Comment by: yasser latif from pakistan (25-3-2011 04:25:14) deeplink to this comment

why we can't save the xmlDocument utf-8 whole contents as a singel string in xml field of Table in SQL Server.


Comment by: Jan Karel Pieterse (25-3-2011 05:14:59) deeplink to this comment

Hi Yasser,

I'm sorry, SQL Server is not my core expertise, Excel is.
Try asking your question here:
http://www.sqlteam.com/forums/


Comment by: Sandeep (12-8-2012 11:27:26) deeplink to this comment

XML is introduced for data storing and transferring is it true of false


Comment by: Jan Karel Pieterse (13-8-2012 11:34:42) deeplink to this comment

Hi Sandeep,

Yes and no. XML was introduced to be able to create structured data files, with the capability to mark what the data is about. It eases exchanging data between systems, simply because you can open an XML file and by reading its content understand whet it contains.

Of course this only works if people use descriptive and clear tag names and adhere to the xml rules.


Have a question, comment or suggestion? Then please use this form.

If your question is not directly related to this web page, but rather a more general "How do I do this" Excel question, then I advise you to ask your question here: www.eileenslounge.com.




To post VBA code in your comment, use [VB] tags, like this: [VB]Code goes here[/VB].