12.13 Assignment #7: XSLT

due: Wednesday, Nov 19

Write a XSLT stylesheet that accepts XML files satisfying the given DTD. The XSLT should output the given information in XHTML, with a diagnostic message provided for each operation. The messages should relate to validity of the following conditions.

<!ELEMENT math (plus | mult)* >  
<!ELEMENT plus (matrix,matrix) >  
<!ELEMENT mult (matrix,matrix) >  
<!ELEMENT matrix (row)* >  
<!ELEMENT row (cell)* >  
<!ELEMENT cell (#PCDATA) >