Skip to main content
Solved

How to keep whitespace in strings un-escaped?

  • August 23, 2013
  • 1 reply
  • 11 views

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 &gt and &lt).  Is there a way to keep it from escaping characters like that?  I just want the value to show literally like I typed it.

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 .
View original
Did this help you find an answer to your question?
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.

1 reply

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • Best Answer
  • August 24, 2013
Hi,

 

If possible I suggest you upgrade to FME 2013.

 

There have been many additions and improvements since 2011 for  XML .

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings