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

add element's relative position feature of its parent #5

Open
tpeng opened this issue Nov 6, 2013 · 0 comments
Open

add element's relative position feature of its parent #5

tpeng opened this issue Nov 6, 2013 · 0 comments

Comments

@tpeng
Copy link
Contributor

tpeng commented Nov 6, 2013

i.e.

    parent = elem.getparent()
    pos = parent.index(elem)

this should capture the case where first element is the subject and second is the content

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

No branches or pull requests

1 participant