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

Restriction of cardinality

From: Anders Sønderberg Mortensen <sondberg@indexdata.dk>
Date: Fri, 08 Apr 2005 15:26:39 +0200
Message-ID: <4256868F.8080701@indexdata.dk>
To: xmlschema-dev@w3.org
dublin core cardinality

Hello,

I like to do the following:

Import the Dublin Core XML schema, i.e.

   http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd

into my own namespace. Here I want to write a schema that allow 
documents of the form:

<root xmlns="my_own_namespace">
   <dc:title>xxxx</dc:title>
   <dc:some_other_dc_tag>yy</dc:some_other_dc_tag>
   <dc:more_dc_tags>zz</dc:more_dc_tags>
   cdata
</root>

The import thing is that I want at least one occurrence of dc:title and 
it may be placed anywhere in the nodeset.

Any help will be appreciated!

Thank you,

--Anders
-- 
---------------------------------------------------
Anders Sønderberg Mortensen <sondberg@indexdata.dk>
Indexdata <http://www.indexdata.dk/>
Phone: +45 3341 0105, Fax: +45 3341 0101
---------------------------------------------------
Received on Friday, 8 April 2005 18:08:26 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.