Skip to content

Conversation

@mritzco
Copy link

@mritzco mritzco commented Aug 14, 2020

Hi,

This pull request allows to stream non matching nodes.

In my case
<tu></tu> nodes are interesting
<anyothers /> are not interesting but cannot be dropped.

Final outcome is a modified XML file.

I'm not sure this pull-request is interesting or breaks the spirit of your library. It adds an option to stream the non matching nodes.

As we're streaming both matches and non matches the receiving stream will need to verify the type before processing or just pass the values along.

I tried to keep your coding standards but felt the if's were not a bad choice, my editor enter some spaces sorry about that.

@mritzco
Copy link
Author

mritzco commented Aug 14, 2020

All tests passed on local btw.

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

Successfully merging this pull request may close these issues.

2 participants