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

in get_multilevel_element, allow user to specify an element that's not a direct child element of a level aka a specific xpath #10

Open
atn38 opened this issue Apr 7, 2022 · 0 comments

Comments

@atn38
Copy link
Owner

atn38 commented Apr 7, 2022

relates to #9

so I've found a way to write a generic function that grabs elements from multiple levels (dataset, entity, and attribute) of an EML document. you specify the element name and the function that parses it, then the generic function checks for the element name in the names at each level.

however, how can one specify an element that's not a direct child element of a level? for example, coverage is a possible child element of entity, but one may want to get coverage/geographicCoverage instead.

@atn38 atn38 moved this to Todo in pkEML goal 1 Apr 7, 2022
atn38 added a commit that referenced this issue Apr 11, 2022
…eply nested elements (perhaps there's a better way to do this?) so that get_multiplevel_elements() can get elements that are not direct children of entities or attributes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant