Skip to content

Complete family tree navigation #8

Description

@hadley

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

Activity

  1. MichaelChirico commented on Oct 11, 2023

    @MichaelChirico
    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.

  2. hadley commented on Oct 11, 2023

    @hadley
    MemberAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions