Question about XPATH ...help
so here is the story , i am having a directory structure of my C drive inside an XML file which look something like below..
</ROOT>
<Directory DirName="Recycled">
<LogicalSize> 0</LogicalSize>
<LogAllocatedSize> 0</LogAllocatedSize>
<PhysicalSize> 0</PhysicalSize>
<LogicalLocation> 327687</LogicalLocation>
<CreateDate> 2005/01/07 20:35:43</CreateDate>
<AccessDate> 2005/01/07 00:00:00</AccessDate>
<ModifyDate> 2005/01/07 20:35:44</ModifyDate>
<Attributes> SH D</Attributes>
<File FileName="Cppt">
<LogicalSize> 10240</LogicalSize>
<LogAllocatedSize> 0</LogAllocatedSize>
<PhysicalSize> 10240</PhysicalSize>
<LogicalLocation> 262146</LogicalLocation>
<CreateDate> 2005/02/14 10:11:53</CreateDate>
<AccessDate> 2005/02/14 00:00:00</AccessDate>
<ModifyDate> 2005/02/14 10:11:54</ModifyDate>
<Attributes> A </Attributes>
<ChangeFlag> TRUE</ChangeFlag>
</File>
<File FileName="CDrivetxt">
<LogicalSize> 18</LogicalSize>
<LogAllocatedSize> 0</LogAllocatedSize>
<PhysicalSize> 18</PhysicalSize>
<LogicalLocation> 262149</LogicalLocation>
<CreateDate> 2005/02/14 10:12:00</CreateDate>
<AccessDate> 2005/02/14 00:00:00</AccessDate>
<ModifyDate> 2005/02/14 10:12:22</ModifyDate>
<Attributes> A </Attributes>
<ChangeFlag> TRUE</ChangeFlag>
</File>
</Directory>
<Directory DirName="unzipped">
<LogicalSize> 0</LogicalSize>
<LogAllocatedSize> 0</LogAllocatedSize>
<PhysicalSize> 0</PhysicalSize>
<LogicalLocation> 163794</LogicalLocation>
<CreateDate> 2005/01/12 17:37:35</CreateDate>
<AccessDate> 2005/01/26 00:00:00</AccessDate>
<ModifyDate> 2005/01/12 17:37:36</ModifyDate>
<Attributes> D</Attributes>
</Directory>
<File FileName="Cppt">
<LogicalSize> 10240</LogicalSize>
<LogAllocatedSize> 0</LogAllocatedSize>
<PhysicalSize> 10240</PhysicalSize>
<LogicalLocation> 262146</LogicalLocation>
<CreateDate> 2005/02/14 10:11:53</CreateDate>
<AccessDate> 2005/02/14 00:00:00</AccessDate>
<ModifyDate> 2005/02/14 10:11:54</ModifyDate>
<Attributes> A </Attributes>
<ChangeFlag> TRUE</ChangeFlag>
</File>
<File FileName="CDrivetxt">
<LogicalSize> 18</LogicalSize>
<LogAllocatedSize> 0</LogAllocatedSize>
<PhysicalSize> 18</PhysicalSize>
<LogicalLocation> 262149</LogicalLocation>
<CreateDate> 2005/02/14 10:12:00</CreateDate>
<AccessDate> 2005/02/14 00:00:00</AccessDate>
<ModifyDate> 2005/02/14 10:12:22</ModifyDate>
<Attributes> A </Attributes>
<ChangeFlag> TRUE</ChangeFlag>
</File>
</ROOT>
Or for more good view please check my attachment zip file it has proper XML file of directory structure.
Problem is , i want to write a XPATH which something like select all directories and files in proper way but files should be those who has Changflag=True ....
These files can be inside any hirarical structure of directroies or at the root of drive so i need all of them in their proper directories...hope i cleared what i am asking..:)
thanks in advance
helpppppppppp

