19 users online (0 members and 19 guests)  


  Results 1 to 3 of 3
  1. #1
    mgertge's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2003
    Posts
    1

    Post 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.

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    http://www.w3schools.com/xsl/default.asp

    Can't expect us to do your homework for you
    If 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?

  3. #3
    benzden's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2002
    Location
    San Antonio, Texas
    Posts
    652
    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.



Tags for this Thread