7 Nov
2013
7 Nov
'13
1:57 p.m.
On 7 November 2013 11:18, Neil Sedger <alug@moley.org.uk> wrote:
I like XPath! The w3schools tutorial is OK.
Thanks, I'll take a look.
xmllint xmltest.xml --xpath '//Unit[UnitType="Type2"]/SerialNumber/text()'
That's almost perfect, thanks! It certainly finds all the data, but at the moment it's stringing it all together in one long string (no whitespace of any kind between results). How do I format it? Mark -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG