Can you suggest the right approach to solving this web design puzzle?

Posted on 2005-04-20
Last Modified: 2013-12-25
see the attached code:

    <link href="StatStyles.css" type="text/css" rel="stylesheet" />
<title>Division Stats</title></head>
    <p class="Heading">
        <img height="40" src="../apa_logo_words_color_sm.jpg" width="50" /> &nbsp;&nbsp;South
        Coast APA&nbsp;&nbsp; <img height="40" src="../apa_logo_words_color_sm.jpg" width="50" />
    <p class="StatHeading">
        <span id="StatHeader"></span>
    <div style="MARGIN-LEFT: 0.13in; OVERFLOW: auto; HEIGHT: 70%">
        <form name="_ctl0" method="post" action="StatViewer.aspx" id="_ctl0" align="center">
<input type="hidden" name="__VIEWSTATE" value="dDwtODYzOTI5ODk0O3Q8O2w8aTwyMT47PjtsPHQ8cDxwPGw8TmF2aWdhdGVVcmw7PjtsPC9YTUxTdGF0cy9TdGF0UHJpbnRlci5hc3B4Oz4+Oz47Oz47Pj47Pvnp5BD/iAMxtU9UVALlxjZeJ2P6" />

            <?xml version="1.0" encoding="utf-8"?><p align="center" style="line-height: 120%; margin-top: 0; margin-bottom: 12"></p><div align="center"><center><table border="2" cellpadding="5"><TR><td class="RosterText" align="center" valign="top"><a href="StatViewer.aspx?DivNum=011&amp;DivName=Camarillo&amp;stat=Division Page">011 - Camarillo</a><br />Mondays, 7:30 PM<br />Open 8-Ball<br />Stats after week 15 on 04/11/2005</td><td class="RosterText" align="center" valign="top"><a href="StatViewer.aspx?DivNum=012&amp;DivName=Thousand Oaks Red&amp;stat=Division Page">012 - Thousand Oaks Red</a><br />Mondays, 7 PM<br />Open 8-Ball<br />Stats after week 15 on 04/11/2005</td><td class="RosterText" align="center" valign="top

(lots of code deleted here for readibility)..

<a href="StatViewer.aspx?DivNum=861&amp;DivName=Ventura 9-Ball&amp;stat=Division Page">861 - Ventura 9-Ball</a><br />Saturdays, 5:30 PM<br />Open 9-Ball<br />Stats after week 13 on 04/09/2005</td></TR></table></center></div>
        <a id="HomeLink" href="../index.htm">Home</a>
        <a id="StatsLink" href="StatViewer.aspx">Choose Division</a>
        <a id="DivisionLink"></a>
        <a id="TeamLink"></a>
        <a id="StandingsLink">Standings</a>
        <a id="RostersLink">Rosters</a>
        <a id="ScheduleLink">Schedule</a>
        <a id="MVPLink">MVP List</a>
        <a id="LinkForPrint" href="/XMLStats/StatPrinter.aspx" target="new">Printer-friendly version</a>

All of the code inside the <form> tags (and there was a lot of it) was on one line, so I think this was generated by something other than a human.

 I believe that this page is creating a bunch of web pages from an XML document, but I'm kind of a newbie and frankly I don't really know what's going on here. I read up on XML and I  can create an XML document, but don't really know how to access the data on it. DUH!  I would have done this using a database, but am not allowed to use one on this project. I was directed to this page as an example of what my client wants.

Anyway, here's the question: clearly this was written in a .net environment. A) since I don't do .net yet, is there another approach to getting this done without it? and B) Can you give me a quick walkthrough of what's happening here between the <form tags>? For example what is happening with this: <a href="StatViewer.aspx?DivNum=011&amp;DivName=Camarillo&amp;stat=Division Page">? And what is the "value" ?

I know this question is kind of vague which is why I'm offering 500 points.

I also posted this question in an even less comprehensible form earlier today in the web development forum also for 500 points, so maybe you can get a quick 1000?
Question by:racing_chicken
    1 Comment
    LVL 29

    Accepted Solution

    This is not the code.

    This is the HTML output from the code.

    The code that creates StatViewer.aspx is what you need to look at or you can not tell what is really happening.

    The code in StatViewer.aspx is not available, so once again, any answers would be a guess.

    <a href="StatViewer.aspx?DivNum=011&amp;DivName=Camarillo&amp;stat=Division Page">

    Thay hyperlink is calling StatViewer.aspx passing three parameters and their associated values.  One would presume, (but it is a guess) those parameters are used to build a new page with the details relating to the values of the three parameters.

    Of course you can do whatever without .NET, classic ASP for example, but if your purpose is to support this web site, then you need to see the actual code to determine what is taking place and decide if you want to maintain it in .NET or some other environment.

    Also you can not award more than 500 points for a question.


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Building “do-it-yourself” web sites has become an epidemic. There are so many blogs, web sites and even books that "teach" you how to build your web site in a few extremely simple and easy steps. Building a web site has become easier than boiling an…
    Introduction Many web sites contain image galleries; a common design for these galleries includes a page with a collection of thumbnail images.  You can click on each of the thumbnail images to see the larger version of the image.  This is easily i…
    This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now