help.axcms.netAxinom Logo
Save Save Chapter Send Feedback

Upgrading to AxCMS.net ver8.1.1

 

Page Content Export and Export Serializers

AxCMS.net 8.1.1 features page content export option in addition to previously available Raw XML and CSV options. To add content export, following line is to be added to MS web.config <ExportDefinitions> section:

<Xslt Type="Axinom.AECMS.WebControls.AxPage" Serializer="Axinom.AECMS.page.PageContentSerializer, AxCMS.BL"  AxID="AxPagesContentXML" Description="Content XML"/>

Also, you can now define custom serializer for your exporting needs. To create custom serializer, implement interface IExportSerializer which defines one method

XmlDocument Serialize(object objectList);

then add your serializer to Serializer attribute of Xslt element of your export definition.