From 97b09890492c0713333f63e6b516c37fdb990a4a Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期四, 31 十月 2024 09:49:10 +0800
Subject: [PATCH] update
---
jrj/xframe/kobject/kxml.hpp | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/jrj/xframe/kobject/kxml.hpp b/jrj/xframe/kobject/kxml.hpp
index fc6931f..00fcbb1 100644
--- a/jrj/xframe/kobject/kxml.hpp
+++ b/jrj/xframe/kobject/kxml.hpp
@@ -221,6 +221,11 @@
public:
const KXMLDOMDocument& operator =(const KXMLDOMDocument& rhs);
KXMLDOMDocument(const KXMLDOMDocument& rhs);
+ public:
+ void Reset()
+ {
+ if (documentElement())removeChild(documentElement());
+ }
};
class KXMLDOMAttribute : public KXMLDOMNode
--
Gitblit v1.9.3