[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] A simle XSD question!
Hy! zöldfülű A simle question! I'm new (green), and I hope it is easy to solve.:-)) How cann I define an XML Schemapart (xsd) for the next sentence! ---------------------------------------------------------------------------- <package> <packageItem> <type>BookItem</type> <name>Henry P.</name> <weightKg>1.23</weightKg> ... </packageItem> <packageItem> <type>package</type> <package> <packageItem> <type>JewelItem</type> <name>Henry P.</name> <weightKg>0.23</weightKg> ... </packageItem> <packageItem> <type>packageItem</type> <package> ... </package> </packageItem> ... </packageItem> <packageItem> ... </packageItem> <package> ---------------------------------------------------------------------------- Where the element <type> has an enumeratinon list of "BookItem", "JewelItem", "packageItem". And if the element <type> contains the value "packageItem" then the next element has to be a new <package> element which cann contain more <packageItem> elements. But if the element <type> contains one of "BookItem", "JewelItem" then <name> and <weightKg> elements are required. Thenks for answers! Best regards Schweitzer Antal Daten-Kontor Kft. 7633 Pécs Tel: +3672552946 +36309168186 Fax: +3672256070 http://www.daten-kontor.hu mailto:schweitzer.antal@d... -----Original Message----- From: xml-dev-help@l... [mailto:xml-dev-help@l...] Sent: Friday, December 14, 2001 11:19 AM To: schweitzer.antal@d... Subject: WELCOME to xml-dev@l... Hi! This is the ezmlm program. I'm managing the xml-dev@l... mailing list. I'm working for my owner, who can be reached at xml-dev-owner@l.... Acknowledgment: I have added the address schweitzer.antal@d... to the xml-dev mailing list. Welcome to xml-dev@l...! Please save this message so that you know the address you are subscribed under, in case you later want to unsubscribe or change your subscription address. To unsubscribe, send a message to: <xml-dev-unsubscribe-schweitzer.antal=dk.hu@l...> --- Administrative commands for the xml-dev list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: For help and a description of available commands, send a message to: <xml-dev-help@l...> To subscribe to the list, send a message to: <xml-dev-subscribe@l...> To remove your address from the list, just send a message to the address in the ``List-Unsubscribe'' header of any list message. If you haven't changed addresses since subscribing, you can also send a message to: <xml-dev-unsubscribe@l...> or for the digest to: <xml-dev-digest-unsubscribe@l...> For addition or removal of addresses, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete the transaction. If you need to get in touch with the human owner of this list, please send a message to: <xml-dev-owner@l...> Please include a FORWARDED list message with ALL HEADERS intact to make it easier to help you. --- Enclosed is a copy of the request I received. Return-Path: <schweitzer.antal@d...> Received: (qmail 26394 invoked by uid 0); 14 Dec 2001 10:18:40 -0000 Received: from unknown (HELO mail.daten-kontor.hu) (195.228.70.10) by mail.oasis-open.org with SMTP; 14 Dec 2001 10:18:40 -0000 Received: by ns.dk.hu with Internet Mail Service (5.5.2650.21) id <XL1S781J>; Fri, 14 Dec 2001 11:14:39 +0100 Message-ID: <C1E0E2CA049AD411BD56001083FC8F8C2BD5A3@n...> From: Schweitzer Antal <schweitzer.antal@d...> To: "'xml-dev-sc.1008324958.codignelckjadelmfnji-schweitzer.antal=dk.hu@l... l.org'" <xml-dev-sc.1008324958.codignelckjadelmfnji-schweitzer.antal=dk.hu@l... .org> Subject: RE: confirm subscribe to xml-dev@l... Date: Fri, 14 Dec 2001 11:14:38 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C18488.236C7094" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C18488.236C7094 Content-Type: text/plain; charset="WINDOWS-1250" Content-Transfer-Encoding: quoted-printable =DCdv=F6zlettel: Schweitzer Antal Daten-Kontor Kft. 7633 P=E9cs Tel: +3672552946 +36309168186 Fax: +3672256070 http://www.daten-kontor.hu mailto:schweitzer.antal@d...=20 -----Original Message----- From: xml-dev-help@l... [mailto:xml-dev-help@l...] Sent: Friday, December 14, 2001 11:16 AM To: schweitzer.antal@d... Subject: confirm subscribe to xml-dev@l... Hi! This is the ezmlm program. I'm managing the xml-dev@l... mailing list. I'm working for my owner, who can be reached at xml-dev-owner@l.... To confirm that you would like schweitzer.antal@d... added to the xml-dev mailing list, please send an empty reply to this address: =20 xml-dev-sc.1008324958.codignelckjadelmfnji-schweitzer.antal=3Ddk.hu@list= s.xml. org Usually, this happens when you just hit the "reply" button. If this does not work, simply copy the address and paste it into the "To:" field of a new message. This confirmation serves two purposes. First, it verifies that I am = able to get mail through to you. Second, it protects you in case someone forges a subscription request in your name. --- Administrative commands for the xml-dev list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: For help and a description of available commands, send a message to: <xml-dev-help@l...> To subscribe to the list, send a message to: <xml-dev-subscribe@l...> To remove your address from the list, just send a message to the address in the ``List-Unsubscribe'' header of any list message. If you haven't changed addresses since subscribing, you can also send a message to: <xml-dev-unsubscribe@l...> or for the digest to: <xml-dev-digest-unsubscribe@l...> For addition or removal of addresses, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete the transaction. If you need to get in touch with the human owner of this list, please send a message to: <xml-dev-owner@l...> Please include a FORWARDED list message with ALL HEADERS intact to make it easier to help you. --- Enclosed is a copy of the request I received. Return-Path: <schweitzer.antal@d...> Received: (qmail 26338 invoked by uid 60909); 14 Dec 2001 10:15:58 = -0000 Delivered-To: request processor for xml-dev@l... Received: (qmail 26332 invoked by uid 0); 14 Dec 2001 10:15:56 -0000 Received: from unknown (HELO mail.daten-kontor.hu) (195.228.70.10) by mail.oasis-open.org with SMTP; 14 Dec 2001 10:15:56 -0000 Received: by ns.dk.hu with Internet Mail Service (5.5.2650.21) id <XL1S78CM>; Fri, 14 Dec 2001 10:56:28 +0100 Message-ID: <C1E0E2CA049AD411BD56001083FC8F8C2BD5A2@n...> From: Schweitzer Antal <schweitzer.antal@d...> To: "'xml-dev-request@l...'" <xml-dev-request@l...> Subject: subscribe Date: Fri, 14 Dec 2001 10:56:22 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset=3D"iso-8859-2" subscribe ------_=_NextPart_000_01C18488.236C7094 Content-Type: application/octet-stream; name="Schweitzer Antal.vcf" Content-Disposition: attachment; filename="Schweitzer Antal.vcf" BEGIN:VCARD VERSION:2.1 N:Antal;Schweitzer FN:Schweitzer Antal ORG:Daten-Kontor Kft. TEL;WORK;VOICE:552-923 TEL;HOME;VOICE:336-163 ADR;WORK:;217 LABEL;WORK:217 EMAIL;PREF;INTERNET:schweitzer.antal@d... REV:20010815T093128Z END:VCARD ------_=_NextPart_000_01C18488.236C7094--
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|