Re: [R] XML package- accessing nodes based on attributes

2009-02-09 Thread Duncan Temple Lang
XPath is your friend here. getNodeSet(mf, '//characterist...@type="File" and @eName="FileTypeId" and @eValue="10"]/parent::File /characterist...@type="Patient" and @eName="PatientReference"]/@eValue') I have broken the XPath expressi

[R] XML package- accessing nodes based on attributes

2009-02-09 Thread Skewes,Aaron
Hi, I have a rather complex xml document that I am attempting to parse based on attributes: http://www.w3.org/2001/XMLSchema-instance";> D:\CN_data\Agilent\Results\