Skip to content

Feature request: skip/ignore certain tags from the output #759

@emmercm

Description

@emmercm

I tried to find an existing issue but couldn't, sorry if I missed one.

I have a very large XML file (~284MB) that requires a lot of memory to parse. There are tags in this file that I do not care about at all, and to reduce memory usage, I want to ignore or "skip" them entirely. I do not want the contents or any children of these tags in my output.

stopNodes does not meet my needs as it still includes the tags' contents in the output. But otherwise, the JPath syntax would meet my needs.

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