Scratch Pad: Difference between revisions

From OPeNDAP Documentation
⧼opendap2-jumptonavigation⧽
No edit summary
Line 1: Line 1:
==SourceXML==
==SourceXML==


Line 13: Line 11:


       <dapObj:type>
       <dapObj:type>
         <t:complexType xmlns:t="http://namespace.t" xmlns:grddl="http://www.w3.org/2003/g/data-view#"
         <t:complexType xmlns:t="http://namespace.t"   xmlns="http://xml.opendap.org/ns/DAP/3.3#"
                        xmlns="http://xml.opendap.org/ns/DAP/3.3#">
                        t:foo="namespacedattribute">
            <dapObj:xmlAttribute name="foo" rdf:value="namespacedattribute"/>
             <dapObj:xmlAttribute name="foo" rdf:value="nonamespaceAttribute"/>
             <dapObj:xmlAttribute name="foo" rdf:value="nonamespaceAttribute"/>
             <t:simpleType>simpleContent</t:simpleType>
             <dapObj:xmlText>
            TextContent of Complex Type
        </dapObj:xmlText>
            <dapObj:xmlContains>
              <t:simpleType>simpleContent</t:simpleType>
            </dapObj:xmlContains>
         </t:complexType>
         </t:complexType>
       </dapObj:type>
       </dapObj:type>

Revision as of 21:28, 29 January 2009

SourceXML

   <Attribute name="xmlTest" type="OtherXML" relationship="is-a" >
       <t:complexType  xmlns:t="http://namespace.t" t:foo="namespacedattribute" foo="nonamespaceAttribute">
           <t:simpleType>simpleContent</t:simpleType>
           TextContent of Complex Type
       </t:complexType>
   </Attribute>

RDF

     <dapObj:type>
        <t:complexType xmlns:t="http://namespace.t"   xmlns="http://xml.opendap.org/ns/DAP/3.3#"
                       t:foo="namespacedattribute">
           <dapObj:xmlAttribute name="foo" rdf:value="nonamespaceAttribute"/>
           <dapObj:xmlText>
           TextContent of Complex Type
       </dapObj:xmlText>
           <dapObj:xmlContains>
              <t:simpleType>simpleContent</t:simpleType>
           </dapObj:xmlContains>
        </t:complexType>
     </dapObj:type>