in reply to Re^5: XML::LibXML problem
in thread XML::LibXML problem

OK, I have been running this again and obvioulsy I changed something (my millionth change of the day) and this has worked.
So, query is /xs:schema/xs:element/xs:complexType/xs:sequence/xs:element/xs:complexType/xs:sequence/xs:element@name
does work!
many thanks for your patience and help. John