Some points:

   1. I'm not sure if this feature was ever implemented.  If not, we should
   fix it.
   2. You may be misunderstanding the intent of the flag.  I believe this
   is an override to _include_ ignorable whitespace (as defined by the
   DTD).  See the next point.  It cannot be used to exclude whitespace
   nodes.
   3. Without a DTD that defines the appropriate content model, the parser
   is obliged to pass all character data through.

You can also use xsl:strip-space in your stylesheet.  See:

   http://www.w3.org/TR/xslt#strip

Dave



                                                                                       
                            
                    "Shapira,                                                          
                            
                    Noam(Wakefield)"          To:     "'[EMAIL PROTECTED]'" 
<[EMAIL PROTECTED]>      
                    <Noam_Shapira@icom        cc:     (bcc: David N Bertoni/CAM/Lotus) 
                            
                    verse.com>                Subject:     XercesParserLiaison doesn't 
ignore white spaces -       
                                              Xalan-C 1.1                              
                            
                    06/01/2001 11:40                                                   
                            
                    AM                                                                 
                            
                    Please respond to                                                  
                            
                    xalan-dev                                                          
                            
                                                                                       
                            
                                                                                       
                            



Hi,

I change the default to false using setIncludeIgnorableWhitespace.
And parse a document that include the following
<FOO> text <BAR/>  <BAR/>
</FOO>

The result document contain 3 text nodes instead of 1 text node.

I'm using XercesParserLiaison & XercesDOMSupport to parse the source file.

What should I do to ignore this white spaces.

Thanks,
Noam Shapira







Reply via email to