DDXXMLBase: Difference between revisions
From OPeNDAP Documentation
⧼opendap2-jumptonavigation⧽
Line 16: | Line 16: | ||
== Proposed Hyrax Implementation == | == Proposed Hyrax Implementation == | ||
Implement the use of: | |||
<setContext name="xml:base">''valueOf(xml:base)''</setContext> | |||
To cause the BES to pass the ''xml:base'' to libdap for inclusion in the DDX. |
Revision as of 18:26, 12 November 2008
Description
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/DAP/3.2#" 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/DAP/3.2# http://xml.opendap.org/dap/dap3.2.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
Implement the use of:
<setContext name="xml:base">valueOf(xml:base)</setContext>
To cause the BES to pass the xml:base to libdap for inclusion in the DDX.