Created
March 6, 2015 21:33
-
-
Save jensens/1e9c924b4a15cef18ea9 to your computer and use it in GitHub Desktop.
xml_pp formatting examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configure | |
xmlns="http://namespaces.zope.org/zope" | |
xmlns:browser="http://namespaces.zope.org/browser" | |
xmlns:security="http://namespaces.zope.org/security" | |
xmlns:zmi="http://namespaces.zope.org/zmi"> | |
<!-- Standard configuration directives --> | |
<include | |
file="configuration-meta.zcml" | |
package=".Configuration" | |
/> | |
<include | |
file="app-meta.zcml" | |
package=".App" | |
/> | |
<include | |
file="i18n-meta.zcml" | |
package=".I18n" | |
/> | |
<include | |
file="publisher-meta.zcml" | |
package=".Publisher" | |
/> | |
<include | |
file="event-meta.zcml" | |
package=".Event" | |
/> | |
<include | |
file="startup-meta.zcml" | |
package=".StartUp" | |
/> | |
<!-- Standard Permissions --> | |
<security:permission | |
id="zope.View" | |
title="View" | |
/> | |
<security:permission | |
id="zope.Security" | |
title="Change security settings" | |
/> | |
<security:permission | |
id="zope.ManageContent" | |
title="Manage Content" | |
/> | |
<security:permission | |
id="zope.ManageBindings" | |
title="Manage Service Bindings" | |
/> | |
<security:permission | |
id="zope.ManageServices" | |
title="Manage Services" | |
/> | |
<security:permission | |
id="zope.ManageApplication" | |
title="Manage Application" | |
/> | |
<!-- XXX What is this for? --> | |
<security:permission | |
id="zope.I18n" | |
title="Manage Application" | |
/> | |
<!-- Configuration --> | |
<include | |
file="app.zcml" | |
package=".App" | |
/> | |
<include | |
file="i18n.zcml" | |
package=".I18n" | |
/> | |
<include | |
file="publisher.zcml" | |
package=".Publisher" | |
/> | |
<include | |
file="event.zcml" | |
package=".Event" | |
/> | |
<include | |
file="startup-registry.zcml" | |
package=".StartUp" | |
/> | |
</configure> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configure | |
xmlns="http://namespaces.zope.org/zope" | |
xmlns:security="http://namespaces.zope.org/security" | |
xmlns:zmi="http://namespaces.zope.org/zmi" | |
xmlns:browser="http://namespaces.zope.org/browser" | |
> | |
<!-- Standard configuration directives --> | |
<include package=".Configuration" file="configuration-meta.zcml" /> | |
<include package=".App" file="app-meta.zcml" /> | |
<include package=".I18n" file="i18n-meta.zcml" /> | |
<include package=".Publisher" file="publisher-meta.zcml" /> | |
<include package=".Event" file="event-meta.zcml" /> | |
<include package=".StartUp" file="startup-meta.zcml" /> | |
<!-- Standard Permissions --> | |
<security:permission id="zope.View" | |
title="View" | |
/> | |
<security:permission id="zope.Security" | |
title="Change security settings" | |
/> | |
<security:permission id="zope.ManageContent" | |
title="Manage Content" | |
/> | |
<security:permission id="zope.ManageBindings" | |
title="Manage Service Bindings" | |
/> | |
<security:permission id="zope.ManageServices" | |
title="Manage Services" | |
/> | |
<security:permission id="zope.ManageApplication" | |
title="Manage Application" | |
/> | |
<!-- XXX What is this for? --> | |
<security:permission id="zope.I18n" | |
title="Manage Application" | |
/> | |
<!-- Configuration --> | |
<include package=".App" file="app.zcml" /> | |
<include package=".I18n" file="i18n.zcml" /> | |
<include package=".Publisher" file="publisher.zcml" /> | |
<include package=".Event" file="event.zcml" /> | |
<include package=".StartUp" file="startup-registry.zcml" /> | |
</configure> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configure | |
xmlns="http://namespaces.zope.org/zope" | |
xmlns:security="http://namespaces.zope.org/security" | |
> | |
<!-- Standard configuration directives --> | |
<include package=".Configuration" file="configuration-meta.zcml" /> | |
<include package=".App" file="app-meta.zcml" /> | |
<include package=".I18n" file="i18n-meta.zcml" /> | |
<include package=".Publisher" file="publisher-meta.zcml" /> | |
<include package=".Event" file="event-meta.zcml" /> | |
<include package=".StartUp" file="startup-meta.zcml" /> | |
<!-- Standard Permissions --> | |
<security:permission id="zope.View" title="View" /> | |
<security:permission id="zope.Security" title="Change security settings" /> | |
<security:permission id="zope.ManageContent" title="Manage Content" /> | |
<security:permission | |
id="zope.ManageBindings" title="Manage Service Bindings" | |
/> | |
<security:permission id="zope.ManageServices" title="Manage Services" /> | |
<security:permission | |
id="zope.ManageApplication" title="Manage Application" | |
/> | |
<!-- XXX What is this for? --> | |
<security:permission | |
id="zope.I18n" title="Manage Application" | |
/> | |
<!-- Configuration --> | |
<include package=".App" file="app.zcml" /> | |
<include package=".I18n" file="i18n.zcml" /> | |
<include package=".Publisher" file="publisher.zcml" /> | |
<include package=".Event" file="event.zcml" /> | |
<include package=".StartUp" file="startup-registry.zcml" /> | |
</configure> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment