perl使用xpath解析xml文件

<?xml version="1.0" encoding="utf-8" ?>
<employees>
	<employee age="30">
		<name>linux</name>
		<country>US</country>
	</employee>
	<employee age="10">
		<name>mac</name>
		<country>US</country>
	</employee>
	<employee age="20">
		<name>windows</name>
		<country>US</country>
	</employee>
</employees>

编程技巧