In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
The role of xPath is to select the path of the node in the xml file.
(1) the convention of path expression
"/" indicates a partial separator within the path
There are two ways to write the same node: absolute path and relative path
Absolute paths must start with "/", while relative paths must not start with "/"
"." Represents the current node
".." Represents the parent node of the current node
(2) basic rules for selecting nodes
Nodename: indicates that all child nodes are selected
/: indicates that the root node is selected
/ /: means to select a node at any location
@: indicates that an attribute is selected
(3) predicate condition
These are the additional conditions added to the path expression, all of which are added to [] to indicate further filtering of the node.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.