Scratch Pad: Difference between revisions

From OPeNDAP Documentation
⧼opendap2-jumptonavigation⧽
Line 2: Line 2:


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

Revision as of 21:29, 29 January 2009

SourceXML

   <Attribute name="xmlTest" type="OtherXML" relationship="is-a" >
       <t:complexType  xmlns:t="http://namespace.t" t:foo1="namespacedattribute" foo2="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:foo1="namespacedattribute">
           <dapObj:xmlAttribute name="foo2" rdf:value="nonamespaceAttribute"/>
           <dapObj:xmlText>
           TextContent of Complex Type
       </dapObj:xmlText>
           <dapObj:xmlContains>
              <t:simpleType>simpleContent</t:simpleType>
           </dapObj:xmlContains>
        </t:complexType>
     </dapObj:type>