[Home] [By Thread] [By Date] [Recent Entries]
I have an XML witch I need to validate. It contains something like: <func name="func1" param0="val0" param1="val1"/> <func name="func2" param2="val2" param3="val3"/> In my DTD file I need to write a general rule which indicates that if @name='func1' then @param0 & @param1 are both REQUIRED, and if @name='func2' then @param2 & @param3 are both REQUIRED. Can I get some help finishing the below dtd please? <!ELEMENT func EMPTY> <!ATTLIST func name (func1|func2) #REQUIRED ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



