Jump to content
Sign in to follow this  

Xquery Based On Xml Schema

Recommended Posts

hello i have this

<xs:element name="dltheory">    <xs:complexType>	  <xs:sequence>	    <xs:element ref="el:author" />	    <xs:element ref="el:last-revised-on"/>	    <xs:choice minOccurs="0" maxOccurs="unbounded">		  <xs:group ref="el:Axiom"/>		  <xs:group ref="el:Annotation"/>	    </xs:choice>	  </xs:sequence>    </xs:complexType>  </xs:element>  <xs:group name="Axiom">    <xs:choice>	  <xs:element ref="el:equivalent"/>	  <xs:element ref="el:subsumes"/>	  <xs:element ref="el:instance-of"/>	  <xs:element ref="el:related-to"/>    </xs:choice>  </xs:group>

and i wanna edit my schema in order to perform a Xquery that will return me (element(*,Axiom)) all elements that are of type Axiom how can i define a complextype Axiom and put it inside dltheory thnx

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...