[Home] [By Thread] [By Date] [Recent Entries]
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
------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



