mini project

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prasu
    New Member
    • Oct 2007
    • 1

    #1

    mini project

    I need code for the below mentioned project




    Project 1: An html tag and attribute counter. In this project we will write a short program to count the tags and attributes in an html or xml file. A tag which occurs only once might be misspelled, and in any case, it is interesting to compare how many different tags and attributes different writers use. A very slight variation on the code will permit us to mark those tags, attributes, and attribute values which are known to be valid, or known to be wrong. The input for our program will be an ordinary html file. The output will look something like this: sorted by usage: 1 used in 52 1 used in 1 1 used in 152 1 used in 12 1 used in 12 1 used in 12 1 used in 42 1 used in 52 2 used in 14 2 used in 17 2
    used in 63 2
    used in 75 2
    used in 54
    3
    used in 22
    3
    used in 13
    7
    used in 52

    sorted by tag:
    1 used in 52
    2
    used in 63
    2
    used in 75
    3
    used in 22
    1 used in 1
    1 used in 152
    1
    used in 12
    1
    used in 12
    1 <tabl
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    Originally posted by prasu
    I need code for the below mentioned project




    Project 1: An html tag and attribute counter. In this project we will write a short program to count the tags and attributes in an html or xml file. A tag which occurs only once might be misspelled, and in any case, it is interesting to compare how many different tags and attributes different writers use. A very slight variation on the code will permit us to mark those tags, attributes, and attribute values which are known to be valid, or known to be wrong. The input for our program will be an ordinary html file. The output will look something like this: sorted by usage: 1 used in 52 1 used in 1 1 used in 152 1 used in 12 1 used in 12 1 used in 12 1 used in 42 1 used in 52 2 used in 14 2 used in 17 2
    used in 63 2
    used in 75 2
    used in 54
    3
    used in 22
    3
    used in 13
    7
    used in 52

    sorted by tag:
    1 used in 52
    2
    used in 63
    2
    used in 75
    3
    used in 22
    1 used in 1
    1 used in 152
    1
    used in 12
    1
    used in 12
    1 <tabl
    You are about to find out that you will not be given code for this project here on TSDN. Per the Posting Guidelines list of unacceptable things, you should not post homework or classwork here.

    It is not our classwork and we will not do it for you. If you have specific questions or are stuck in your coding, that is different and you can post the code here to get help (surrounded by the proper code tags). But, we will not provide the code for your homework.

    This is your first warning!

    Regards,

    - Moderator

    Comment

    • aviraldg
      New Member
      • Sep 2007
      • 21

      #3
      Two points that you ought to consider-
      1)It's your project.Why should we help you?(We ALL have our own projects)
      2)You really need some brain! This doesn't even concern HTML!

      Comment

      Working...