Thread: Please help xslt from a dtd
Results 1 to 3 of 3
04-24-2003, 10:00 PM #1
Please help xslt from a dtd
Given this DTD I am expected to creat a style sheet. If I can please get some help my assignment is due in a few days
<!ENTITY % BLOCK "(PARA|LIST)+">
<!ENTITY % BODY "(%BLOCK;|EXAMPLE|NOTE)+">
<!ENTITY % TEXT "(CODE|KEYWORD|QUOTATION)*">
<!ELEMENT REPORT (TITLE,(SECTION|SHORTSECT)+)>
<!ELEMENT SUBSECTION (TITLE,%BODY;,SUBSECTION*)>
<!ELEMENT SECTION (TITLE,%BODY;,SUBSECTION*)>
<!ELEMENT EXAMPLE (TITLE?,%BLOCK>
<!ELEMENT SHORTSECT (TITLE,%BODY>
<!ELEMENT LIST (ITEM)+>
<!ELEMENT TITLE %TEXT;>
<!ELEMENT ITEM (%BLOCK>
<!ELEMENT CODE (#PCDATA)>
<!ELEMENT KEYWORD (#PCDATA)>
<!ELEMENT QUOTATION (#PCDATA)>
<!ELEMENT PARA (#PCDATA)>
<!ELEMENT NOTE (#PCDATA)>
Last edited by mgertge; 04-24-2003 at 10:02 PM.
04-25-2003, 05:16 AM #2
Can't expect us to do your homework for youIf one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
04-25-2003, 08:28 AM #3
Using IE 5+, download "entire" sites and look a the .css files for those that have them to get an idea of how they did theirs.