[Home] [By Thread] [By Date] [Recent Entries]


Immediate need for 3 Gentran consultants on Unix Box.

Tx,

Steve



----Original Message Follows----
From: "Jeff Rafter" <lists@j...>
To: "Pedro Salazar" <pedro-b-salazar@p...>,<xml-dev@l...>
Subject: Re:  semantics in schema (xsd)
Date: Wed, 25 Feb 2004 13:24:47 -0800
MIME-Version: 1.0
Received: from mail.oasis-open.org ([209.202.168.102]) by 
mc2-f40.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Wed, 25 Feb 2004 
13:29:12 -0800
Received: (qmail 19645 invoked by uid 60909); 25 Feb 2004 21:11:57 -0000
Received: (qmail 19619 invoked by uid 60881); 25 Feb 2004 21:11:54 -0000
X-Message-Info: JGTYoYF78jFtAoBYiVpvjWniVwpQxzq8
Mailing-List: contact xml-dev-help@l...; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Post: <mailto:xml-dev@l...>
List-Help: <mailto:xml-dev-help@l...>
List-Unsubscribe: <mailto:xml-dev-unsubscribe@l...>
List-Subscribe: <mailto:xml-dev-subscribe@l...>
Delivered-To: mailing list xml-dev@l...
Message-ID: <021201c3fbe5$cb5a6f50$6403a8c0@ARIMATHEA>
References: <1077740939.13692.97.camel@v...>
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Spam-Status: No, hits=-1.0 
required=7.0tests=QUOTED_EMAIL_TEXT,REFERENCESversion=2.55
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
Return-Path: xml-dev-return-31210-bsr123=hotmail.com@l...
X-OriginalArrivalTime: 25 Feb 2004 21:29:12.0834 (UTC) 
FILETIME=[698C0620:01C3FBE6]

 > I'm creating a schema file but by several times I feel the needed of
 > something to validate my sub-elements in tree (children elements)
 > subordinated to an attribute value on the parent element.
 >
 > Is it possible to validate this with the schema semantics?

This requirement is not directly possible in XML Schema-- though you can add
schematron rules to support it. In RELAXNG it is a snap... is that an
option?

Cheers,
Jeff Rafter


-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://www.oasis-open.org/mlmanage/index.php>

_________________________________________________________________
Store more e-mails with MSN Hotmail Extra Storage – 4 plans to choose from! 
http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member