Character Tags - XML vs. EXCEL

Just trying to understand the encoding differences between EXCEL and XML.  I noticed EXCEL converts character tags differently then XML. In the XML file, I am using the UTF-8 encoding (<?xml version="1.0" encoding="UTF-8"?>).  Is that why the character tags are different between XML and EXCEL?  Is there anyway to have EXCEL display the same format as XML.

For example;
EXCEL
<BULLET/> Charge time: 1 hr;<BULLET/>

XML
&lt;BULLET&gt; Charge time: 1 hr&lt;BULLET/&gt
tmajor99Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rspahitzCommented:
The < and > symbols have special meaning in XML (and HTML)

To get Excel to show the same, you'll need to convert those and & to their corresponding XML values:
< becomes &lt;
> becomes &gt;
& becomes &amp;

There may be a few others but those are probably 99%.  Also, you may not want to convert those inside quotes, depending on how the XML processor works.

Where in Excel are you seeing these?  When you export?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
XML

From novice to tech pro — start learning today.