XML (extensive markup language) Configuration file updating method, system, medium and device

The application discloses an XML (extensive markup language) configuration file updating method, comprising: using annotation of an XML configuration file to create an operation statement corresponding to a configuration node, wherein the operation statement includes path information and operation t...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: GONG ZHUPING, XIAO GUANGJIE
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The application discloses an XML (extensive markup language) configuration file updating method, comprising: using annotation of an XML configuration file to create an operation statement corresponding to a configuration node, wherein the operation statement includes path information and operation type corresponding to the configuration node; using XPath to locate a target node according to the path information; updating the target node correspondingly according to the operation type. In the invention, the annotation in the XML configuration file is used as the operation statement for the configuration node; the XPath technology is used to locate the target node in the XML configuration file to find a node to be updated, precise correction can be provided for the XML configuration file, the correction of the XML configuration file is brought forward to the function development phase, and the maintenance cost of the configuration file in product updating is reduced. Correspondingly, theinvention also provides