$doc->findnodes( '//descriptors[@type="CTC"]/descriptor/mainterm/text( +)' [download]
In reply to Re^2: XML data reading/output by ramrod in thread XML data reading/output by Anonymous Monk