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

  • From: rohit srivastava <srivasrmd@h...>
  • To: xml-dev@l...
  • 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.


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