You can grab a single element, add different elements together, slice out several elements, and even add together different slices.
您可以获得单个元素,将不同的元素添加在一起,切出几个元素,甚至将不同的片段添加在一起。
2
If all you need to do with an XML file is grab some text from within a single node, it might be possible to use a simple regular expression that will probably operate faster than any XML parser.