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

[Feature Request] Line and Column Number for Nodes #139

Open
zz85 opened this issue May 31, 2014 · 2 comments
Open

[Feature Request] Line and Column Number for Nodes #139

zz85 opened this issue May 31, 2014 · 2 comments
Assignees

Comments

@zz85
Copy link

zz85 commented May 31, 2014

Would be nice to be able to get the position number of xml elements (even with additional option).

My use case is for referring to the location of the original xml source, so the api could be like xml.node.$$.col or xml.node.$$.line

Since saxjs does support location info, I've hacked an implementation with the JS file, but wanted to see if this is desirable before trying my hands on the coffeescript source yet.

@Leonidas-from-XIV
Copy link
Owner

Well, I'm not sure. Definitely not as default option, because line numbers are more like meta-data, but I am happy if someone wants to chime in.

(And sorry for the super late reply)

@Leonidas-from-XIV Leonidas-from-XIV self-assigned this Jan 20, 2015
@rnikoopour
Copy link

Is there any update on the status of this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants