98.8% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsPrevious article Next article
Excel articles
Understanding XML Within Excel
Mon 22nd March 2010
If you already have a basic understanding of html, the way XML is written will be familiar to you. It uses 'tags' - pieces of information within angle parentheses. Within these parentheses, XML code gives a descriptive name to the data. In the above example, your data for each customer might start with Steven Jones inside the XML Name tags, followed by a new description for address, postcode, and any other information. This gives a whole new portability to your data. You could use the NAME XML data and import it into Word along with the address data, to create a mail merge advert to be sent to all existing customers.
The accountant and his or her own software is also likely to be able to import other XML data such as outstanding invoices or debts, so they can easily get a picture of how the books are looking. These are very simple examples of how XML data can be marked up and then moved, but its uses are far more varied. A caveat, though, the data must be well written - that is, if you omit something like a closing parenthesis or closing tag, the data within it won't work. Human error is responsible for most XML data not "working" in other programs, so check yours carefully for any glitches, typos or mistakes.
Schemas are a more complex way of validating your data. It has a set of inbuilt rules that 'know' how the XML data is supposed to look and will reject any incorrect entries. For example, you could write a schema that knows that a name field will usually be no more than three words (someone's first, middle and surnames). If a hasty secretary starts typing in the address instead, it will flag it up. Another example is that only numbers, and not words, should be entered in any monetary data such as the outstanding balance. If the schema keeps this rule, then your accountant will only receive correct numerical data and not a mixture of words and numbers, depending on who input it.
This is just a basic introduction to how XML can be used with your Excel data, and more training will be needed in order to learn the language fully and start integrating it into your everyday use of data. To get started, though - you need to activate it in Excel 2007 by clicking the Office button, then Excel options, then personalise. Then under 'developer', you'll see the tools for using XML. Why not have a play around, and see how far and flexible your data can go?
Author is a freelance copywriter. For more information on microsoft excel 2003 vba courses, please visit https://www.stl-training.co.uk
Original article appears here:
https://www.stl-training.co.uk/article-793-understanding-xml-within-excel.html

London's widest choice in
dates, venues, and prices
Public Schedule:
On-site / Closed company:
TestimonialsBritish Business Bank
Risk Manager George Steel Excel PowerPivot Very helpful to understand the basic functionality of Power Pivot and Power BI, providing fundamental knowledge to enhance my work experience, the Trainer was incredibly knowledgeable and very helpful throughout the course, would recommend for first time users Goldsmiths College
Postgraduate Co-ordinator Victoria Reese Excel Intermediate Great course, Richard was incredibly enthusiastic and helpful. The pace was kept efficiently giving the right time to absorb information. I really enjoyed this course and was such a great way to learn about a programme so technical and mathematic. Room for improvement -I think that the workbooks contained some very dense information which could be made more accessible and user friendly. Fortnum & Mason
Warehouse Team Manager Stephen Charles Excel Intermediate I found the trainer very professional in her approach and practise exercises very useful. |
PUBLICATION GUIDELINES