Results 1 to 8 of 8

Thread: Is XML a cross between CGI and HTML?

  1. #1

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418

    Is XML a cross between CGI and HTML?

    HTML seems to create static web pages as far as i know and CGI seems to be used for the creation of dynamic content. Other than XML moving to a standardized format does XML fall somewhere in the middle of the two?

  2. #2

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    Im trying to figure out this whole web server thing and where
    CGI, JSP or XML falls into it. Do all of these fall into the same catergory for serving dynamic content?

  3. #3
    CGI is not a language but any server-side scripting thingy, like PHP, JSP, ASP, etc. JSP you already know . XML, which I haven't formally learned yet, seems to be an ideal way of saving settings, although apparently it can be used for showing data too since the tree in the MSDN library has a .xml extension.

  4. #4

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    CGI is not a language but any server-side scripting thingy, like PHP, JSP, ASP, etc.
    Yes someone explained JSP as inserting Java right into HTML code. So as far as i know that is really scripting. Im just trying to understand if XML is just a standardized version of HTML or if it can create web pages and run on the server side also. If it's just basically used for creating web pages then ill just learn JSP or CGI then.

  5. #5

  6. #6
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    XML doesn't actually have anything to do with web development at all by itself. You can definitively intregrate it with your web development technology. XML can be used in any place you need a standard method of data presentation or for exchanging data, and the web browser is just a good example of that.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  7. #7

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    Yeah i was quite surprised when i read that. They explained that HTML more or less defines how data is to look and be presented were as XML defines what data actually is.

  8. #8
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    In a sense you can use XML to create dynaimic pages. By using XSL you can transform the XML into HTML based on the data in the XML. For instance, XSL has a routine that allows you to loop through each Node in an XML document and format it to HTML.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width