[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Handle-info] Template resolution



I seem to be missing some critical element for implementing templates.
Any insight is appreciated. Details:

Resolves normally:
http://digital.library.wisc.edu/1712.dl/testxxx
Does not resolve (100 response):
http://digital.library.wisc.edu/1712.dl/testxxx@desc


0.NA/1712 the HS_NAMESPACE value type has been commented out.


In the server_config stanza of config.dct:
"namespace" = "<namespace><template ref='1:1712/namespace1712'/></namespace>”
(Master and mirror restarted)


In the 1712/namespace1712 handle at index 1 (type HS_NAMESPACE):

<template delimiter="@">
  <foreach>
    <if value="type" test="equals" expression="URL">
      <if value="extension" test="equals" expression="desc" parameter="x">
          <value data="http://nytimes.com"/>
        </if>
      <else>
        <value/>
      </else>
    </if>
  </foreach>
</template>


—————————————————————————————
Brian Sheppard
UW Digital Collections Center
brian.sheppard@wisc.edu





_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info