dom4j / dom4j

flexible XML framework for Java

Home Page:https://dom4j.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get each attribute position?

zhizhixiongxuwei opened this issue · comments

I extend DocumentFactory class and override all createXXX methods with org.xml.sax.Locator. In this way, I can get each attribute (incorrect) postion. An attribute's position information(line&column) will be identical with its parent node(Element). Can I get a more precisely postion info with dom4j?