[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
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?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
dtd
Subject: dtd From: "xsl list" <xsl_list@xxxxxxxxxxx> Date: Tue, 15 Aug 2000 17:32:45 EDT |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Recall: New book on XSLT, Darrin Bishop | Thread | RE: dtd, sara . mitchell |
RE: Line Numbering, Jeni Tennison | Date | Re: Selecting case insensitively, Jeni Tennison |
Month |
Keywords