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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Depicting interdependence relationships in xml

[ Lists Home | Date Index | Thread Index ]
  • From: rohit srivastava <srivasrmd@hotmail.com>
  • To: xml-dev@lists.xml.org
  • Date: Mon, 16 Oct 2000 20:49:54 +0000 (GMT)

Hello,
I am in the process of creating an XML vocabulary. I have elements whose 
values depend on the values of other elements. For example if element A 
assumes the value Ax(say), element B can only take on the value Bx(from a 
list of other possible values). And if the value of element A was Ay(say), 
then element B will be constrained to take on the value By(say).
I am wondering, is it possible to constrain an XML document in this manner? 
I looked at DTD's and i don't think that they allow an XML document to be 
constrained in this manner(please correct me if i am wrong).

Or is there someplace else that i should be looking to implement such 
relationships in my XML docuements(at the time of generating XML or possibly 
using XSL; but then XSL only works on preexisting docs).

I would very much appreciate any help/pointers in this matter.

Thanks,

Rohit Srivastava.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.





 

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

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