Hey, Does anyone can help me? OR, is there any recource I can use? I would like to know if I can include any logic and condition while I define a DTD/SCHEMAS for XML documents. For example, if the value of element <student> is CANDY, then the value of the following tag <course> cannot be ENGLISH. Or, if the value of the element <total> is bigger than 10, then the next element should be <bonus>, if the value of <total> is bigger than 100, the the next element should be <super bonus>, and if the value of <total> is ...... Something like above for multiple condition statements in DTD or schemas? Thank you very much. Candy
author and deputy
posted 11 years ago
No. You can XSL or other XML parser for this.(post processing).