示例#1
0
# This is silva software

from silva.core.xml import registerNamespace

NS_PACKAGE_URI = 'http://infrae.com/namespace/silva-software-package'
registerNamespace('silva-software-package', NS_PACKAGE_URI)
示例#2
0
# -*- coding: utf-8 -*-
# Copyright (c) 2011-2013 Infrae. All rights reserved.
# See also LICENSE.txt

from silva.core.xml import registerNamespace

NS_EDITOR_URI = "http://infrae.com/namespace/silva-core-editor"
NS_HTML_URI = "http://www.w3.org/1999/xhtml"

registerNamespace("silva-core-editor", NS_EDITOR_URI)
registerNamespace("html", NS_HTML_URI)
示例#3
0
# -*- coding: utf-8 -*-
# Copyright (c) 2012-2013 Infrae. All rights reserved.
# See also LICENSE.txt
# This is a package.

from silva.core.xml import registerNamespace

NS_FIND_URI = 'http://infrae.com/namespace/silva-find'
registerNamespace('silva-find', NS_FIND_URI)
# -*- coding: utf-8 -*-
# Copyright (c) 2012-2013 Infrae. All rights reserved.
# See also LICENSE.txt
# package

from silva.core.xml import registerNamespace

NS_LAYOUT_URI = 'http://infrae.com/namespace/silva-core-contentlayout'
registerNamespace('silva-core-contentlayout', NS_LAYOUT_URI)


示例#5
0
# -*- coding: utf-8 -*-
# Copyright (c) 2012-2013 Infrae. All rights reserved.
# See also LICENSE.txt
# package

from silva.core.xml import registerNamespace

NS_DOCUMENT_URI = 'http://infrae.com/namespace/silva-app-document'
registerNamespace('silva-app-document', NS_DOCUMENT_URI)
示例#6
0
# -*- coding: utf-8 -*-
# Copyright (c) 2012-2013 Infrae. All rights reserved.
# See also LICENSE.txt
# package

from silva.core.xml import registerNamespace

NS_SOURCE_URI = "http://infrae.com/namespace/silva-external-sources"
registerNamespace('silva-external-sources', NS_SOURCE_URI)
示例#7
0
# -*- coding: utf-8 -*-
# Copyright (c) 2012-2013 Infrae. All rights reserved.
# See also LICENSE.txt
# this is a package

from silva.core.xml import registerNamespace

NS_PAGE_URI = 'http://infrae.com/namespace/silva-app-page'
registerNamespace('silva-app-page', NS_PAGE_URI)

# This is silva software


from silva.core.xml import registerNamespace

NS_PACKAGE_URI = 'http://infrae.com/namespace/silva-software-package'
registerNamespace('silva-software-package', NS_PACKAGE_URI)

示例#9
0
# -*- coding: utf-8 -*-
# Copyright (c) 2012-2013 Infrae. All rights reserved.
# See also LICENSE.txt
# this is a package

from silva.core.xml import registerNamespace

NS_SILVA_NEWS = 'http://infrae.com/namespace/silva-news-network'
registerNamespace('silvanews', NS_SILVA_NEWS)
示例#10
0
# -*- coding: utf-8 -*-
# Copyright (c) 2013 Infrae. All rights reserved.
# See also LICENSE.txt
# package

from silva.core.xml import registerNamespace

NS_MEDIACONTENT_URI = 'http://infrae.com/namespace/silva-app-mediacontent'
registerNamespace('silva-app-mediacontent', NS_MEDIACONTENT_URI)
示例#11
0
# -*- coding: utf-8 -*-
# Copyright (c) 2012-2013 Infrae. All rights reserved.
# See also LICENSE.txt
# this is a package

from silva.core.xml import registerNamespace

NS_NEWS_URI = "http://infrae.com/namespace/silva-app-news"
registerNamespace("silva-app-news", NS_NEWS_URI)
示例#12
0
# -*- coding: utf-8 -*-
# Copyright (c) 2012-2013 Infrae. All rights reserved.
# See also LICENSE.txt
# XML Import/Export

from silva.core.xml import registerNamespace, registerOption

NS_DOCUMENT_URI = 'http://infrae.com/namespace/silva-document'
registerNamespace('doc', NS_DOCUMENT_URI)
registerOption('upgrade30', False)
registerOption('image_res', None)