| 2864 | |
| 2865 | |
| 2866 | bool XMLPrinter::VisitEnter( const XMLDocument& doc ) |
| 2867 | { |
| 2868 | _processEntities = doc.ProcessEntities(); |
| 2869 | if ( doc.HasBOM() ) { |
| 2870 | PushHeader( true, false ); |
| 2871 | } |
| 2872 | return true; |
| 2873 | } |
| 2874 | |
| 2875 | |
| 2876 | bool XMLPrinter::VisitEnter( const XMLElement& element, const XMLAttribute* attribute ) |