[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Depicting interdependence relationships in xml
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.
|
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
|