Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get each attribute position? #135

Open
zhizhixiongxuwei opened this issue Dec 3, 2021 · 0 comments
Open

How to get each attribute position? #135

zhizhixiongxuwei opened this issue Dec 3, 2021 · 0 comments
Labels

Comments

@zhizhixiongxuwei
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants