Posted By

djiao on 09/17/08


Tagged

xml xquery saxon


Versions (?)

saxon XQuery for searching whole direcotry


 / Published in: XML
 

  1. <fileList>
  2. {
  3. for $doc in collection('/dir/to/your/xml/files/')
  4. return $doc/text/body/div/head
  5. }
  6. </fileList>

Report this snippet  

You need to login to post a comment.