saxon XQuery for searching whole direcotry


/ Published in: XML
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.