Changeset 6032


Ignore:
Timestamp:
20/11/09 14:27:20 (10 years ago)
Author:
sdonegan
Message:

Problem with related_url/url_content_type - for some reason element was in wrong sequence and had type child element - WRONG! updated so now conformand with gcmd xsd

File:
1 edited

Legend:

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

    r5179 r6032  
    1 declare default element namespace 'http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/'; 
     1declare default element namespace 'http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/'; 
    22declare namespace atom = 'http://www.w3.org/2005/Atom'; 
    33declare namespace dif = 'http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/'; 
     
    142142       return 
    143143            element Related_URL { 
     144                    element URL_Content_Type{data($link/@rel)},                                  
    144145                    element URL {data($link/@href)}, 
    145                     element Description {data($link/@title)}, 
    146                     element URL_Content_Type{ 
    147                                 element Type{data($link/@rel)} 
    148                     } 
     146                    element Description {data($link/@title)}                     
    149147            }, 
    150148        element Parent_DIF {''}, 
Note: See TracChangeset for help on using the changeset viewer.