AnsweredAssumed Answered

generating a 'created date' field for web content

Question asked by bjornl on Jun 4, 2007
Latest reply on Jun 29, 2007 by kvc
Hi,

I need to be able to produce listings of web content sorted on date, so it would be very useful to have the creation time of the generated xml file as a field in that generated file, like so;


<mytype>
<createdDate>2007-06-04</createdDate>
<anothernode />
</mytype>

Does anyone have a good idea how to achieve this without adding a date to the xsd definition itself, in that way relying on the user to enter a correct date?
Would there be a way to for example in some way render the date as a "fixed" or "default" element in the xsd only the first time it is rendered? Or anyone has a better approach to this?

// Björn

Outcomes