javascript - how to add greater than,less than to a tag in xml file? as a sample <tag><mark></tag> -
when i'm trying wrote in title, loading of xml failed.
without "<",">" file loaded html javascript great without problems.
i saw how w3c told that, in case in title failed.
--1-- can use --2-- without problem , xml file loaded fine javascript html.
sample xml file:
--3-- looking in browser: --4- what problem?
all code parts in link http://pastebin.com/kab8ifwz in parts 1/2/3/4
try enclosing part of xml containing tags cdata. e.g.
<![cdata[<b>this part contains tags</b>]]> or:
<![cdata[<b>this part contains tags</b>]]> hope helps!
Comments
Post a Comment