Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.xml Page in Netscape 4.5 and above

Status
Not open for further replies.

jun1773

Programmer
May 19, 2001
1
IN
Dear Everyone,

Can anyone help me to know the solution for the below question?

If any of u had been to , then the default page is homepage.xml, This Page opens in Netscape browser 4.5 and above, How does this happen? If xml is written on the Server Side, then How does the Server understand .xml extention?

Advance Thanks

Regards
 
You can configure a server to do whatever you want with a certain extension; there's nothing magical about it. For example, if I wanted to serve HTML files from my webserver, using the extension .rick (my name), it's just a small configuration setting. I could even get files with server-side code, such as ASP or PHP to parse with the extension .xml, even though the code inside has nothing to do with XML.

At brainbench.com, they are using a .xml extension, but the output served to the browser is straight HTML. In their case, I'm sure they are actually using true XML files on the server side, and just using a parser to turn the output into HTML, before outputting to the browser. It looks like their server is running Apache with Resin ( a java servlet engine that allows you to serve XML with XSL.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top