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

Complete family tree navigation #8

Closed
hadley opened this issue Feb 20, 2015 · 2 comments
Closed

Complete family tree navigation #8

hadley opened this issue Feb 20, 2015 · 2 comments

Comments

@hadley
Copy link
Member

hadley commented Feb 20, 2015

With siblings(), following(), preceding(), ancestors(), descendants()

@MichaelChirico
Copy link
Contributor

I found myself looking for this today, so surprised to see this closed. I expected xml_descendants() to exist. It seems maybe xml_children() is intended but that doesn't match my expectation.

In particular, I want a functional equivalent of xml_find_all(xml, "descendant::*") On a particular example (I can add a reprex if needed) I found length(xml_children(xml)) == 84 but length(xml_find_all(xml, "descendant::*")) == 136.

@hadley
Copy link
Member Author

hadley commented Oct 11, 2023

Can you file a new issue for that?

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

No branches or pull requests

2 participants