[opencms-dev] Why my document doesn't contain released date?
Fantasy
toberich at qq.com
Sun Sep 2 05:38:30 CEST 2012
Hi, all,
I defined a document schema file, and add the following mappingļ¼ but when i check in the file list, non of the documents contain the realeased date. Why?
the definitions:
<xsd:complexType name="OpenCmsVideoDocument">
<xsd:sequence>
<!-- some other attributes -->
<xsd:element name="Date" type="OpenCmsDateTime" minOccurs="1" maxOccurs="1"/>
<xsd:element name="URL" type="OpenCmsString" minOccurs="1" maxOccurs="1"/>
<!-- some other attributes -->
</xsd:sequence>
<xsd:attribute name="language" type="OpenCmsLocale" use="required"/>
</xsd:complexType>
the mappings:
<mappings>
<!-- some other mapping -->
<mapping element="Keywords" mapto="property:Keywords"/>
<mapping element="Date" mapto="property:datereleased"/>
</mappings>
Thanks.
Fantasy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120902/5a63228d/attachment.htm>
More information about the opencms-dev
mailing list