Jump to content

1st January 1970 Modified Date For Xml Files


scorseze

Recommended Posts

Hello,My first post here so please allow me to introduce myself. I'm James from Poland.Now, I've recently wondered why xml files that have an xsl stylesheet attached have this `year zero` modified date (i.e 1st January 1970 00:00:00). To see what I mean, take a look here: http://www.w3schools.com/xsl/cdcatalog_with_xsl.xmlThis is an xml file transformed with an xsl stylesheet. If you happen to be using Firefox, right click on that page and select `view page info`. You should see the modified date showing 1st January 1970.And here: http://www.w3schools.com/xsl/cdcatalog.xml is the xml file alone, this time the modified date is what you would expect.Why is it that the transformed xml files have the year zero date? How would I change it?

Link to comment
Share on other sites

In my Firefox the modified date says "Not specified".
Perhaps I should have been more specific on my Firefox, which is 3.0.10 on Win XP (also the latest version of FF 2 shows the same date). Do you have `not specified` date in both files?The thing is, I reckon that such files (with the year zero date) are not indexed by some web crawlers (eg. Google bot).
Link to comment
Share on other sites

I'm running Firefox 3.0.10 on Windows XP. The modified date shows as "Not specified" for the first file and April 15th, 2008 for the second.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...