| 2107 | |
| 2108 | |
| 2109 | bool XMLPrinter::VisitEnter( const XMLDocument& doc ) { |
| 2110 | _processEntities = doc.ProcessEntities(); |
| 2111 | if ( doc.HasBOM() ) { |
| 2112 | PushHeader( true, false ); |
| 2113 | } |
| 2114 | return true; |
| 2115 | } |
| 2116 | |
| 2117 | |
| 2118 | bool XMLPrinter::VisitEnter( const XMLElement& element, const XMLAttribute* attribute ) { |