W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001

DOM Stripes Empty Space between tags - HELP

From: Govindaraj M. <APT> <umungo01@shafika.vetri.com>
Date: Thu, 30 Aug 2001 12:50:10 +0530 (GMT)
To: www-dom@w3.org
Message-ID: <Pine.GSO.4.05.10108301245210.23854-100000@arrow>

Hello Group,

I am having problem when loading the xml document and saving 
the same using DOM.

 If the Program is intended to read SGML / XML document
using DOM and write another Tagged Output, then DOM always strips the
empty spaces present between two tags. For ex:

 If the Input document has a line like the following :
 This is a <bold>Sample</bold> <italic> text</italic>

 Then the DOM Ouput of the above line would be:
 This is a <bold>Sample</bold><italic> text</italic>

 Pls. note that the space between </bold> and <italic> tag is
missing in the output. This problem will exist only if there are empty
spaces between the tags.

Can anybody in the group can help me how can i work around this problem.


Govindaraj. M
mailto:umungo01@shafika.vetri.com



       ########################################################
          When the going gets tough, the tough gets empirical
       ######################################################## 
Received on Thursday, 30 August 2001 03:20:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:49 GMT