Jump to content
Sign in to follow this  
scorseze

1st January 1970 Modified Date For Xml Files

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?

Share this post


Link to post
Share on other sites

In my Firefox the modified date says "Not specified".

Share this post


Link to post
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).

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...