diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2014-10-08 14:32:14 +0200 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2014-10-08 16:43:26 +0200 |
commit | ecea8f3ceeac8c01562060648569206fa3921f14 (patch) | |
tree | 6ba0c36f5a3af484e6690c0381c826a0a19f288f /utils_xml.py | |
parent | 4a9914b632f1ae7b61f0f0b47ef7d125f07f8c94 (diff) | |
download | clufter-ecea8f3ceeac8c01562060648569206fa3921f14.tar.gz clufter-ecea8f3ceeac8c01562060648569206fa3921f14.tar.xz clufter-ecea8f3ceeac8c01562060648569206fa3921f14.zip |
utils_xslt: dedicated to XSLT related helpers
Also move xslt_identity from utils_xml to utils_xslt.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'utils_xml.py')
-rw-r--r-- | utils_xml.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/utils_xml.py b/utils_xml.py index 8128a9f..d849ff3 100644 --- a/utils_xml.py +++ b/utils_xml.py @@ -18,14 +18,6 @@ NAMESPACES = { 'xsl': 'http://www.w3.org/1999/XSL/Transform', } -xslt_identity = '''\ - <xsl:template match="{0}@*|{0}node()" - xmlns:xsl="''' + NAMESPACES['xsl'] + '''"> - <xsl:copy> - <xsl:apply-templates select="@*|node()"/> - </xsl:copy> - </xsl:template>''' - class UtilsXmlError(ClufterPlainError): pass |