DDXXMLBase: Difference between revisions

From OPeNDAP Documentation
⧼opendap2-jumptonavigation⧽
No edit summary
No edit summary
Line 6: Line 6:


  <Dataset  
  <Dataset  
    name="200803061600_HFRadar_USEGC_6km_rtv_SIO.nc"
    xml:base="http://dev1.opendap.org:8080/opendap/netcdf/examples/200803061600_HFRadar_USEGC_6km_rtv_SIO.nc.ddx"
     xmlns="http://xml.opendap.org/ns/DAP2"
     xmlns="http://xml.opendap.org/ns/DAP2"
     xmlns:xml="http://www.w3.org/XML/1998/namespace"
     xmlns:xml="http://www.w3.org/XML/1998/namespace"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://xml.opendap.org/ns/DAP2  http://xml.opendap.org/dap/dap2.xsd">
     xsi:schemaLocation="http://xml.opendap.org/ns/DAP2  http://xml.opendap.org/dap/dap2.xsd"
    name="200803061600_HFRadar_USEGC_6km_rtv_SIO.nc"
    xml:base="http://dev1.opendap.org:8080/opendap/netcdf/examples/200803061600_HFRadar_USEGC_6km_rtv_SIO.nc.ddx"
>
 
 
Proposed Hyrax Implementation:

Revision as of 18:08, 12 November 2008

Based on this recommendation: http://www.w3.org/TR/xmlbase/#syntax

We'll add the attribute xml:base to the dap:Dataset element.

The namespace associated with the xml prefix is: http://www.w3.org/XML/1998/namespace and the prefix MUST be declared in the dap:Dataset element:

<Dataset 
   xmlns="http://xml.opendap.org/ns/DAP2"
   xmlns:xml="http://www.w3.org/XML/1998/namespace"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://xml.opendap.org/ns/DAP2  http://xml.opendap.org/dap/dap2.xsd"
   name="200803061600_HFRadar_USEGC_6km_rtv_SIO.nc" 
   xml:base="http://dev1.opendap.org:8080/opendap/netcdf/examples/200803061600_HFRadar_USEGC_6km_rtv_SIO.nc.ddx"

>


Proposed Hyrax Implementation: