[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Schema Help

From: oknam park <ponda7777@hotmail.com>
Date: Fri, 10 Feb 2006 08:20:50 +0000
Message-ID: <BAY108-F385CD35A40EAD0CCD4E1F7BB020@phx.gbl>
To: xmlschema-dev@w3.org
schema help

Hello.

I have two questions. It would be appreciated if you could give me some 
help.

1) How could I define type="xs:anyURI"
for identifier element below? it should be for only identifier, not 
sub-element such as gemq:sid, etc.

<xs:element name="identifier">
   <xs:complexType mixed="true">
             <xs:sequence>
	<xs:element ref="gemq:bibliographicCitation" minOccurs="0" 
maxOccurs="unbounded"/>
	<xs:element ref="gemq:publicID" minOccurs="0" maxOccurs="unbounded"/>
	<xs:element ref="gemq:sid"/>
	<!-- mandatory -->
	<xs:element ref="gemq:sdn"/>
	<!-- mandatory -->
	<xs:element ref="gemq:gemRecordID"/>
	<!-- mandatory -->
	</xs:sequence>
     </xs:complexType>

2) How could I allow to represent "<dc:description xml:lang='en'>" in a xml 
instance file in a schem below?

<xs:element name="description">
    <xs:complexType mixed="true">
	<xs:sequence>
	     <xs:element ref="dcterms:abstract" minOccurs="0" 
maxOccurs="unbounded"/>
	    <xs:element ref="dcterms:tableOfContents" minOccurs="0" 
maxOccurs="unbounded"/>
	</xs:sequence>
   </xs:complexType>
</xs:element>

Thanks a lot,

Best regards,
Oknam Park
Received on Friday, 10 February 2006 08:20:57 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.