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

10
LINES

< > BotCompany Repo | #1023876 // contentsOfContainerTags

JavaX fragment (include)

// tok must come from htmlTok
// returns content of all container tags found as CNC
// should be OK for both HTML and XML
static LL<S> contentsOfContainerTags(L<S> tok, S tag) {
  ret map contentsOfContainerTag(findContainerTag(tok, tag));
}

static LL<S> contentsOfContainerTags(S html, S tag) {
  ret contentsOfContainerTags(htmlTok(html), tag);
}

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: 234 / 264
Referenced in: [show references]