// tok must come from htmlTok // returns all container tags found (including content) as CNC // honors nested tags correctly static L<L<S>> findContainerTagWithParamsDeep(L<S> tok, S tag, O... params) { new L<L<S>> l; for (L<S> t : findContainerTagDeep(tok, tag)) if (htmlCheckParams(second(t), params)) l.add(t); ret l; } static L<L<S>> findContainerTagWithParamsDeep(S html, S tag, O... params) { ret findContainerTagWithParamsDeep(htmlTok(html), tag, params); }
Began life as a copy of #1008443
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008450 |
Snippet name: | findContainerTagWithParamsDeep - HTML/XML parsing, fixed tag name |
Eternal ID of this version: | #1008450/3 |
Text MD5: | b6f40f0a98e0d271d3b74b5ab92ddc64 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-15 13:34:03 |
Source code size: | 498 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 496 / 551 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1030276 - findHTMLTagWithClassDeep - HTML parsing, filter by class |