View on GitHub

alps-io blog

keeping up with alps.io

Sample ALPS Document

2014-01-25 00:00:00 -0800

This is just a sample ALPS document

<alps>
  <doc>
    Search sample
  </doc>
  
  <!-- search affordance -->
  <descriptor id="search" type="safe" rt="#results">
    <descriptor id="q" type="semantic" />
  </descriptor>
  
  <!-- results block -->
  <descriptor id="results" type="semantic">
    <descriptor id="givenName" type="semantic" />
    <descriptor id="familyName" type="semantic" />
    <descriptor id="emailAddress" type="semantic" />
    <descriptor id="voicePhone" type="semantic" />
  </descriptor>
  
</alps>