Tutorial :How to italicize a word being displayed by a web.sitemap



Question:

I have a company name that always needs to be italicized. I have navigation that is driven by my sitemap and I can not figure out how to italicize the word. The word is always the same, so I thought about some Jscript, but was wondering if I had any other options. Thank You.


Solution:1

If the sitemap is an XML document than you might use an XSLT stylesheet to print out the content (a little tutorial: http://www.w3schools.com/xsl/).

But without using CSS or tags you can't make a word italic. There is no italic char for each symbol. So in a pure XML document there is no ways to do that.


Solution:2

I added character encodings to my sitemap to italicize. Ex: for < I used &lt


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »