I'm trying to add an attribute with a constant string value using AttributeCreator, and then have that value output through an XML Writer. I'm using FME 2011. The value of the string is "SMALL MAP GRID". In versions of FME previous to 2011 I used to type the value in that way, inside double quotes. It came out correctly in the XML output. Now in 2011, it's putting <quote>SMALL<space>MAP<space>GRID<quote> in the output XML (and of course in the XML the brackets are escaped as > and <). Is there a way to keep it from escaping characters like that? I just want the value to show literally like I typed it.
Solved
How to keep whitespace in strings un-escaped?
Best answer by fmelizard
Hi,
View originalIf possible I suggest you upgrade to FME 2013.
There have been many additions and improvements since 2011 for XML .
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.