despite placing the following code in my onet.xml, the publishing feature is not activated.
<Feature ID="A392DA98-270B-4e85-9769-04C0FDE267AA">
<!-- PublishingPrerequisites -->
</Feature>
<Feature ID="7C637B23-06C4-472d-9A9A-7C175762C5C4">
<!-- ViewFormPagesLockDown -->
</Feature>
<Feature ID="AEBC918D-B20F-4a11-A1DB-9ED84D79C87E">
<!-- PublishingResources -->
<Properties xmlns="http://schemas.microsoft.com/sharepoint/">
<Property Key="AllowRss" Value="false"/>
<Property Key="SimplePublishing" Value="false" />
</Properties>
</Feature>
<!-- Publishing Infrastructure Feature -->
<Feature ID="F6924D36-2FA8-4f0b-B16D-06B7250180FA"/>
I need this feature to be activated, because I have a feature-receiver which executes some code dependent on the feature.