OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Schema Validation

[ Lists Home | Date Index | Thread Index ]

Take a look at schemaTron or, if you don't fancey a new DSL, just use 
vanilla XSLT.

Fraser.


>From: "Susheel Puthana" <susheel.puthana@xilinx.com>
>To: "XML Developers List" <xml-dev@lists.xml.org>
>Subject: [xml-dev] Schema Validation
>Date: Fri, 9 Dec 2005 12:00:29 -0700
>
>
>Hello XML gurus,
>
>I have a set of XML files..say N.Based on some filters I need to load up
>a subset (abt N/4 files for example).
>There are elements in these N/4 files which refer to elements defined in
>one of these N/4 files.
>
>Lets say N=20 and N/4=5 (f1,f2,f3,f4,f5)
>So, Element A defined in file f5 can refer to ELement B defined in one
>of the files f1,f2,f3,f4,f5. If element B is not defined in one of the 5
>files, then thats an error condition for me. Can I use the schema
>definitions to turn on checking for the above constraint.
>
>Let me know if the problem statement is not clear.Any solution or
>pointers to a solution would be greatly appreciated.
>
>Thanks,
>-Susheel.
>
>
>-----------------------------------------------------------------
>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>
>






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS