| 1796 | } |
| 1797 | |
| 1798 | bool XMLPrinter::VisitEnter(const XMLDocument& doc) { |
| 1799 | _processEntities = doc.ProcessEntities(); |
| 1800 | if (doc.HasBOM()) { |
| 1801 | PushHeader(true, false); |
| 1802 | } |
| 1803 | return true; |
| 1804 | } |
| 1805 | |
| 1806 | bool XMLPrinter::VisitEnter(const XMLElement& element, const XMLAttribute* attribute) { |
| 1807 | OpenElement(element.Name()); |