You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have some large xml data(more than 1000 <item>s) but we only need the first 20. Is it possible to limit the number of <item>s to parse so that it will only return the first 20. This will save 80% of our computation time.
Currently FXP works on String where you require to read whole file contents in advance and there is no benefit to read a few items from starting. I've added it as feature request so that if we develop FXP to work on stream then this feature can be implemented.
There is one way to achieve it if we close all the open parent tags as soon as the limit is reached. But it can be buggy. And no doubt stream support will be required
Description
We have some large xml data(more than 1000
<item>
s) but we only need the first 20. Is it possible to limit the number of<item>
s to parse so that it will only return the first 20. This will save 80% of our computation time.Input
Code
Output
expected data
Would you like to work on this issue?
Bookmark this repository for further updates.
The text was updated successfully, but these errors were encountered: