| 2925 | |
| 2926 | |
| 2927 | bool XMLPrinter::VisitEnter( const XMLDocument& doc ) |
| 2928 | { |
| 2929 | _processEntities = doc.ProcessEntities(); |
| 2930 | if ( doc.HasBOM() ) { |
| 2931 | PushHeader( true, false ); |
| 2932 | } |
| 2933 | return true; |
| 2934 | } |
| 2935 | |
| 2936 | |
| 2937 | bool XMLPrinter::VisitEnter( const XMLElement& element, const XMLAttribute* attribute ) |