[Home] [By Thread] [By Date] [Recent Entries]

  • From: Jirka Kosek <jirka@k...>
  • To: "Costello, Roger L." <costello@m...>
  • Date: Tue, 11 Sep 2012 11:21:22 +0200

On 10.9.2012 19:21, Costello, Roger L. wrote:
>> Because IE's XML parser incorrectly strips whitespace text nodes. 
> 
> Thanks Michael. 
> 
> Is there a workaround?

If you parse XML file in Javascript you can configure parser behaviour
by using preserveWhiteSpace property:

http://msdn.microsoft.com/en-us/library/windows/desktop/ms761353(v=vs.85).aspx

If parsing is done directly by IE only workaround is to add
xml:space="preserve" to the root element of the input XML file.

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@k...      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member