tags:

views:

39

answers:

1

Can anyone explain why all HTML tags are working/rendering in my XML but italic ?
Also, you can't put classes in xml right, I tried that it it didn't seem to recognized any classes.

Sorry getting familiar with XML

+1  A: 

XML has a CDATA function to pass characters used in the language.

There is a nice explanation to it here: http://www.w3schools.com/xmL/xml_cdata.asp

Pez Cuckow
Ya, I read this earlier, but it doesn't really explain why <b>Bold</b> works but <i>italic</i> does not work?
Xtian
There is no '<i>italic</i>" in xml - xml describes data, html describes display
KevinDTimm
Then why does <b>bold</b> work then? This is info inside xml tag, I'm not using <i> to describe data
Xtian
I don't understand why you want to be able to do this anyway, what is the Xml interpreting?
Pez Cuckow
Sorry, should have explained. I have a paragraph the XML is spitting out, but inside the paragraph the client would like to have certain words bold or italicized. So I am putting in html tags in the xml. They all work but Italic?
Xtian
And what is the client interpreting the XML with?
Pez Cuckow