The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

fjanon (62) [Avatar] Offline
Is there a section about HTML parsing included in this new edition? I would like to see a bit more about the subject than the 1st ed.

I am still trying to understand what the '**' does in:

def bolded = html.'**'.findAll { =='B' }

in the 1st ed p487


Mittie (397) [Avatar] Offline
Re: HTML parsing section?
** is a shortcut notation for depth-first search trough the entire tree - just like // in xpath or ** in ant file patterns, see "Table 12.3 Common methods of groovy.util.Node and GPathResult".

We currently don't plan to extend the HTML parsing section. What information is missing for you?