Changeset 7718 for ndgCommon


Ignore:
Timestamp:
09/11/10 22:49:09 (9 years ago)
Author:
sdonegan
Message:

Better handling ofdif related_urls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ndgCommon/trunk/ndg/common/xmldb/xquery/dif2stubISO.xq

    r7717 r7718  
    453453                            
    454454                           (: note - for dif conversions not really possible to pull out data download easily, so for now classify everything as information :) 
    455                            isolib:transferOptions ($Related_URL/dif:URL, $Related_URL/dif:URL_Content_Type, $Related_URL/dif:Description, string('information')) 
    456                             
     455                           if (exists($Related_URL/dif:Description)) then 
     456                               isolib:transferOptions ($Related_URL/dif:URL, $Related_URL/dif:URL_Content_Type, $Related_URL/dif:Description, string('information')) 
     457                           else 
     458                               isolib:transferOptions ($Related_URL/dif:URL, $Related_URL/dif:URL_Content_Type, string('DIF Related URL'), string('information')) 
    457459                    else () 
    458460                       
Note: See TracChangeset for help on using the changeset viewer.