Hi Erik,

Use a numeric character reference: 


The parser normalizes before expanding the entity.  You can do the same
thing for other whitespace characters.

Dave



                                                                                       
                                                              
                      "Erik Rydgren"                                                   
                                                              
                      <[EMAIL PROTECTED]         To:      <[EMAIL PROTECTED]>          
                                                     
                      darinen.se>               cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                                        
                                                Subject: Carrage return in attribute   
                                                              
                      09/19/2003 03:10                                                 
                                                              
                      AM                                                               
                                                              
                      Please respond to                                                
                                                              
                      xerces-c-dev                                                     
                                                              
                                                                                       
                                                              



Hi all!

This is probably a no-brainer for someone who knows. I have trouble sending
carrage returns in attribute values. As I understand the normalization of
the attribute value will change my #xA character into a #x20 character
instead, and that is exactly what I get.
Is there some way to make the #xA character pass through the parser
unharmed? I don’t have a grammar and I don’t have the option of adding one
either.

Regards
Erik Rydgren
Mandarin FS
Sweden

Reply via email to