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

9
LINES

< > BotCompany Repo | #1009235 // xml_contentsOfTag - does not trim tag contents

JavaX fragment (include)

static S xml_contentsOfTag(L<S> tok, S tag) {
  for (L<S> tok2 : findContainerTag(tok, tag))
    ret join(contentsOfContainerTag(tok2));
  null;
}

static S xml_contentsOfTag(S xml, S tag) {
  ret xml_contentsOfTag(htmlTok(xml), tag);
}

Author comment

Began life as a copy of #1009180

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: #1009235
Snippet name: xml_contentsOfTag - does not trim tag contents
Eternal ID of this version: #1009235/1
Text MD5: 91200932f50899c3079d860b8e7bb947
Author: stefan
Category: javax / xml
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-19 16:53:33
Source code size: 246 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 435 / 454
Referenced in: [show references]