November 4, 200520 yr When I export my FM data via XML and look at the text file the export has created, all the angle brackets of my painstakingly implanted HTML format codes, such as italicizied text or bolded text, turn into < and > This is a problem because when I import the text file, the angle brackets are "protected" by the < and > coding and thus are not interpreted as the paired HTML text format codes that I intend them to be. The codes show up in the text instead of enhancing the text. How can I prevent this substitution from happening? Thx for help.
November 4, 200520 yr Author CLARIFICATION FROM AUTHOR: After I posted I saw that some of the keystrokes in my post were interpreted instead of being left "as is." So, to clarify, my problem is that when XML exports: < (becomes) ampersand+lt; > (becomes) ampersand+gt; I need to stop this substitution from happening. Thx.
November 18, 200520 yr You don't specify *where* you are exporting this. Or more precisely, if you use an XSLT or spit out _raw_ XML. Since XML uses the < and > ('<', '>') for it's tags, they get converted when found within the field contents. If you process with an XSLT, you can use the attribute (disable-output-escaping='yes').
Create an account or sign in to comment