Scratch Pad: Difference between revisions

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


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


Line 11: Line 16:


       <dapObj:type>
       <dapObj:type>
         <t:complexType xmlns:t="http://namespace.t"   xmlns="http://xml.opendap.org/ns/DAP/3.3#"
         <t:level0 xmlns:t="http://namespace.t" xmlns:grddl="http://www.w3.org/2003/g/data-view#"
                        t:foo1="namespacedattribute">
                  xmlns="http://xml.opendap.org/ns/DAP/3.3#"
                  t:foo1="namespacedattribute">
             <dapObj:xmlAttribute name="foo2" rdf:value="nonamespaceAttribute"/>
             <dapObj:xmlAttribute name="foo2" rdf:value="nonamespaceAttribute"/>
             <dapObj:xmlText>
             <dapObj:xmlText>
Line 18: Line 24:
         </dapObj:xmlText>
         </dapObj:xmlText>
             <dapObj:xmlContains>
             <dapObj:xmlContains>
               <t:simpleType>simpleContent</t:simpleType>
               <t:level1>simpleContent</t:level1>
              <t:level1>
                  <dapObj:xmlContains>
                    <t:level2>
                        <t:level3>simpleContent</t:level3>
                    </t:level2>
                  </dapObj:xmlContains>
              </t:level1>
             </dapObj:xmlContains>
             </dapObj:xmlContains>
         </t:complexType>
         </t:level0>
       </dapObj:type>
       </dapObj:type>

Revision as of 21:42, 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>
           <dapObj:xmlContains>
              <t:level1>simpleContent</t:level1>
              <t:level1>
                 <dapObj:xmlContains>
                    <t:level2>
                       <t:level3>simpleContent</t:level3>
                    </t:level2>
                 </dapObj:xmlContains>
              </t:level1>
           </dapObj:xmlContains>
        </t:level0>
     </dapObj:type>