| 2878 | } |
| 2879 | |
| 2880 | bool XMLPrinter::VisitEnter(const XMLDocument& doc) |
| 2881 | { |
| 2882 | _processEntities = doc.ProcessEntities(); |
| 2883 | if (doc.HasBOM()) |
| 2884 | { |
| 2885 | PushHeader(true, false); |
| 2886 | } |
| 2887 | return true; |
| 2888 | } |
| 2889 | |
| 2890 | bool XMLPrinter::VisitEnter(const XMLElement& element, const XMLAttribute* attribute) |
| 2891 | { |