I managed to mess-up clicking "Send" on Friday, so I'm trying again (-:

> Stuart Clarke wrote:
>> Robert Klemme wrote:
>>> Stuart Clarke wrote:
>>>> report.puts "Date: #{e.text}"
>>>> Does anyone have any suggestions on a suitable workflow for this?
>>>
>>> Just iterate over all "ItemInfo" elements and print values from sub
>>> elements (which you can select via a relative XPath).
>>
>> Thanks for getting back to me. I will look into this and see how I get
>> on.
>
> I pulled this out of a script I use quite a bit and hacked your XPath int=
o it:
>
> ARGV.each do |filename|
> =A0 doc =3D REXML::Document.new( File.new( filename ) )
>
> =A0 doc.elements.each("/UserData/List/ItemInfo"){|e|
> =A0  =A0print e.elements["Title"].text, "\t"
> =A0  =A0puts e.elements["Date"].text
>  =A0end
> end