04-22-2008 04:59 PM
04-22-2008 08:11 PM
04-22-2008 09:11 PM
04-22-2008 09:23 PM
04-22-2008 09:35 PM
04-23-2008 09:11 AM
04-23-2008 10:33 AM
04-23-2008 10:58 AM
<mla:ml_article xmlns:alf="http://www.alfresco.org" xmlns:chiba="http://chiba.sourceforge.net/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:mla="http://www.alfresco.org/alfresco/mla" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<mla:title>MLA</mla:title>
<mla:author>Naim</mla:author>
<mla:description>MLA test</mla:description>
<mla:body>Body of content.</mla:body>
<mla:publish_date>2008-04-23</mla:publish_date>
<mla:language>English</mla:language>
</mla:ml_article>
…
<entry key="/mla_article">
<ref bean="extracter.xml.sample.AlfrescoModelMetadataExtracter" />
</entry>
…
<bean id="extracter.xml.sample.AlfrescoModelMetadataExtracter"
class="org.alfresco.repo.content.metadata.xml.XPathMetadataExtracter"
parent="baseMetadataExtracter"
init-method="init" >
<property name="mappingProperties">
<bean class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="properties">
<props>
<prop key="namespace.prefix.cm">http://www.alfresco.org/model/content/1.0</prop>
<prop key="title">cm:title</prop>
<prop key="author">cm:author</prop>
<prop key="description">cm:description</prop>
<prop key="publish_date">cm:publish_date</prop>
<prop key="language">cm:language</prop>
</props>
</property>
</bean>
</property>
<property name="xpathMappingProperties">
<bean class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="properties">
<props>
<prop key="namespace.prefix.fm">http://www.alfresco.org/model/forum/1.0</prop>
<prop key="title">/mla_article/@name</prop>
<prop key="author">/mla_article/author/text()</prop>
<prop key="description">/mla_article/description/text()</prop>
<prop key="publish_date">/mla_article/publish_date/text()</prop>
<prop key="language">/mla_article/language/text()</prop>
</props>
</property>
</bean>
</property>
</bean>
04-23-2008 11:38 AM
…
<prop key="title">/mla:mla_article/@name</prop>
…
04-23-2008 05:19 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.