用
attributes.getValue(i);
代替
attributes.getQName(i);
因为正如文档所说:
getQName : 返回属性的限定名称(前缀)。
getValue : 通过限定(前缀)名称查找属性的值。
请参阅此示例以获取属性名称和值

用
attributes.getValue(i);
代替
attributes.getQName(i);
因为正如文档所说:
getQName : 返回属性的限定名称(前缀)。
getValue : 通过限定(前缀)名称查找属性的值。
请参阅此示例以获取属性名称和值