Scratch Pad: Difference between revisions

From OPeNDAP Documentation
⧼opendap2-jumptonavigation⧽
No edit summary
Line 23: Line 23:
             TextContent of Complex Type
             TextContent of Complex Type
         </dapObj:xmlText>
         </dapObj:xmlText>
            <t:level1>simpleContent</t:level1>
             <dapObj:xmlContains>
             <dapObj:xmlContains>
              <t:level1>simpleContent</t:level1>
               <t:level1>
               <t:level1>
                   <dapObj:xmlContains>
                   <dapObj:xmlContains>

Revision as of 21:49, 29 January 2009

SourceXML

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

RDF

     <dapObj:type>
        <t:level0 xmlns:t="http://namespace.t" xmlns:grddl="http://www.w3.org/2003/g/data-view#"
                  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>
           <t:level1>simpleContent</t:level1>
           <dapObj:xmlContains>
              <t:level1>
                 <dapObj:xmlContains>
                    <t:level2>
                       <t:level3>simpleContent</t:level3>
                    </t:level2>
                 </dapObj:xmlContains>
              </t:level1>
           </dapObj:xmlContains>
        </t:level0>
     </dapObj:type>