You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by "Patil, Virat" <vi...@capgemini.com> on 2015/04/20 11:04:41 UTC

Removing White Spaces from XML

Hello

I have string value <document><pdf></pdf><doc></doc></document>. When I convert string to XML value like
var xml:XML = new XML(stringValue) it add whitespaces between document and pdf. Is there a wy to ignore it.

Regards
Virat I Patil
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

RE: Removing White Spaces from XML

Posted by Miguel Ferreira <mi...@hotmail.com>.
XML.ignoreWhitespace = true

> From: virat.patil@capgemini.com
> To: users@flex.apache.org
> Date: Mon, 20 Apr 2015 14:34:41 +0530
> Subject: Removing White Spaces from XML
> 
> Hello
> 
> I have string value <document><pdf></pdf><doc></doc></document>. When I convert string to XML value like
> var xml:XML = new XML(stringValue) it add whitespaces between document and pdf. Is there a wy to ignore it.
> 
> Regards
> Virat I Patil
> This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.