Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1023876 // contentsOfContainerTags

JavaX fragment (include)

1  
// tok must come from htmlTok
2  
// returns content of all container tags found as CNC
3  
// should be OK for both HTML and XML
4  
static LL<S> contentsOfContainerTags(L<S> tok, S tag) {
5  
  ret map contentsOfContainerTag(findContainerTag(tok, tag));
6  
}
7  
8  
static LL<S> contentsOfContainerTags(S html, S tag) {
9  
  ret contentsOfContainerTags(htmlTok(html), tag);
10  
}

Author comment

Began life as a copy of #1002309

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023876
Snippet name: contentsOfContainerTags
Eternal ID of this version: #1023876/1
Text MD5: 46108278923045db6801d7932e29919e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-11 13:45:34
Source code size: 360 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 235 / 265
Referenced in: [show references]