Click to See Complete Forum and Search --> : Output the xml file creation date?


ricardoduarte
02-27-2005, 12:44 PM
Hello, back again…

I’m a newbie in xml, can someone help me with a question:
I have a xml file updated (msaccess) hour to hour in my “site”; I use a xsl file to show the xml info in a web page (table view)…my question is how can I show in the web the “date: day & hour” of the xml file creation/modification? The purpose is to users known the last time info was updated…and that info is in the xml file: __<?xml version="1.0" encoding="UTF-16"?><dataroot xmlns:od="urn:schemas-microsoft-com:officedata" generated="2005-02-25T17:56:30">__

Thanks in advance
From Portugal
Ricardo Duarte

Khalid Ali
02-27-2005, 01:11 PM
it should be as simple as reading an element and then getting the values out for use. I am confused why or what is the problem you have

ricardoduarte
02-27-2005, 01:41 PM
Sorry, maybe this is just a basic question, better that way…

I have something like this in my auto-update xml file. I use a xsl file to transform this data so that can be viewed in a web page. I know how to show all the data exported from my access app. But how can I show the date of generated file? Can u show me an example?

<?xml version="1.0" encoding="UTF-16"?>
<dataroot xmlns:od="urn:schemas-microsoft-com:officedata" generated="2005-02-25T17:56:30">
<MESFAMILIA>
<Empresa>Teste</Empresa>
<ID>2</ID>
<Familia>FAMILIATESTE</Familia>
<Objectivos>1725</Objectivos>
<Vendas>1226</Vendas>
<Estado>-499</Estado>
</MESFAMILIA>

That “generated date” is in the Microsoft schema info, I don’t know how I can display that info on my webpage

Thanks in advance
From Portugal
Ricardo Duarte