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,
If 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 an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, 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 an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, 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.

