summaryrefslogtreecommitdiffstats
path: root/utils_xslt.py
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-10-13 22:38:31 +0200
committerJan Pokorný <jpokorny@redhat.com>2014-10-21 16:12:58 +0200
commit3254273b3982e0a406088cb30a194e9eca2c0239 (patch)
tree5d5476a9191f4bb69f4408666e3a1b7a880fc2e2 /utils_xslt.py
parentf91fcefb648006daf4137ccfd33b413d89db102d (diff)
downloadclufter-3254273b3982e0a406088cb30a194e9eca2c0239.tar.gz
clufter-3254273b3982e0a406088cb30a194e9eca2c0239.tar.xz
clufter-3254273b3982e0a406088cb30a194e9eca2c0239.zip
utils_xml: have the namespaces represented as symbols, too
+ propagate actually use these symbols Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'utils_xslt.py')
-rw-r--r--utils_xslt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils_xslt.py b/utils_xslt.py
index 8d16c75..553674d 100644
--- a/utils_xslt.py
+++ b/utils_xslt.py
@@ -5,7 +5,7 @@
"""XSLT helpers"""
__author__ = "Jan Pokorný <jpokorny @at@ Red Hat .dot. com>"
-from .utils_xml import NAMESPACES
+from .utils_xml import NAMESPACES, XSL
def xslt_identity(particular_selector=''):
@@ -15,7 +15,7 @@ def xslt_identity(particular_selector=''):
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
- </xsl:template>'''.format(particular_selector, NAMESPACES['xsl'])
+ </xsl:template>'''.format(particular_selector, NAMESPACES[XSL])
def xslt_is_member(item, items):