webstruct icon indicating copy to clipboard operation
webstruct copied to clipboard

add element's relative position feature of its parent

Open tpeng opened this issue 10 years ago • 0 comments

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

tpeng avatar Nov 06 '13 08:11 tpeng