XML message parsing method and server
The invention discloses an XML message parsing method and server. The method comprises the steps of: receiving an XML message to be parsed, and determining a preset target attribute ID to be parsed inthe XML message; selecting a parsing strategy to be matched from a preset parsing strategy library,...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
25.05.2018
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses an XML message parsing method and server. The method comprises the steps of: receiving an XML message to be parsed, and determining a preset target attribute ID to be parsed inthe XML message; selecting a parsing strategy to be matched from a preset parsing strategy library, and determining whether the parsing strategy is hit according to a search location identifier included in the parsing strategy and corresponding to the target attribute ID; and if the parsing strategy is determined to be hit, outputting an attribute value included in the XML message and corresponding to the target attribute ID. The server is used for executing the above method. The XML message parsing method and server can parse the target attribute ID of the XML message to be parsed by selecting a parsing strategy from a preset parsing strategy library and output an attribute value corresponding to the target attribute ID, thereby improving the parsing efficiency of the XML message.
本发明公开种XML报文解析方法及服务器。其中,所述方法包括:接 |
---|---|
Bibliography: | Application Number: CN201610991747 |