MarkSLC Posted November 4, 2005 Posted November 4, 2005 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.
MarkSLC Posted November 4, 2005 Author Posted November 4, 2005 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.
beverly Posted November 18, 2005 Posted November 18, 2005 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').
Recommended Posts
This topic is 6943 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now