[opencms-dev] XSD mapping to date last modified [2]
Ulysses Tannure
ulysses at oriens.com.br
Tue Dec 15 20:03:00 CET 2009
Hi all,
Anybody know if the response was below maillist? Or know someone
answered it?
"Hi all.
How I can set mapping OpenCmsDateTime to "date last modification" in XSD?
When i use mapping to datereleased it works ok. But when i try to
use mapping to datelastmodified it doesn't work.
..............
<xsd:sequence>
<xsd:element name="Date" type="OpenCmsDateTime" />
</xsd:sequence>
..............
<xsd:appinfo>
<mappings>
<mapping element="Date" mapto="attribute:datereleased" />
</mappings>
</xsd:appinfo>
..............
It works fine.
..............
<xsd:sequence>
<xsd:element name="Date" type="OpenCmsDateTime" />
</xsd:sequence>
..............
<xsd:appinfo>
<mappings>
<mapping element="Date" mapto="attribute:datelastmodified" />
</mappings>
</xsd:appinfo>
..............
It doesn't set file attribute dateLastModified to the value of Date
field of XSD....
Any suggestions?"
grateful,
Ulysses Tannure
More information about the opencms-dev
mailing list