A feature extraction method for XML documents based on PCA

XML document stores the information of the new power system source load interaction. It has the characteristics of self-description, extensibility, structure, and content, which makes it widely used. Improving the method of extracting elements from XML documents is very helpful in solving the problem of distributed object operation measurement in the power grid. To classify or analyze XML documents better, based on the theoretical analysis of principal component analysis and the study of the text representation model, this paper proposes two methods: vectorization representation of XML documents and further feature extraction. The experiment result shows that the method of all path feature extraction for XML document can represent the main feature of XML document effectively, and is an important work for latter handling XML documents of power grid efficiently