diff --git a/ChangeLog b/ChangeLog
index a68d16efdf0132425424817331d02a04e22eadf8_Q2hhbmdlTG9n..c5d97df51bff407ba999789c7cd98aad8bfb437f_Q2hhbmdlTG9n 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon May 17 06:14:09 CEST 2004 Daniel Veillard <daniel@veillard.com>
+
+	* configure.in: release of libxslt-1.1.7
+
 Sun May 16 23:08:05 CEST 2004 Daniel Veillard <daniel@veillard.com>
 
 	* tests/general/bug-151*, tests/docs/bug-151.xml,
diff --git a/configure.in b/configure.in
index a68d16efdf0132425424817331d02a04e22eadf8_Y29uZmlndXJlLmlu..c5d97df51bff407ba999789c7cd98aad8bfb437f_Y29uZmlndXJlLmlu 100644
--- a/configure.in
+++ b/configure.in
@@ -6,7 +6,7 @@
 dnl
 LIBXSLT_MAJOR_VERSION=1
 LIBXSLT_MINOR_VERSION=1
-LIBXSLT_MICRO_VERSION=6
+LIBXSLT_MICRO_VERSION=7
 PACKAGE=libxslt
 LIBEXSLT_MAJOR_VERSION=0
 LIBEXSLT_MINOR_VERSION=8
@@ -10,7 +10,7 @@
 PACKAGE=libxslt
 LIBEXSLT_MAJOR_VERSION=0
 LIBEXSLT_MINOR_VERSION=8
-LIBEXSLT_MICRO_VERSION=4
+LIBEXSLT_MICRO_VERSION=5
 LIBXML_REQUIRED_VERSION=2.6.8
 
 
diff --git a/doc/libxslt-api.xml b/doc/libxslt-api.xml
index a68d16efdf0132425424817331d02a04e22eadf8_ZG9jL2xpYnhzbHQtYXBpLnhtbA==..c5d97df51bff407ba999789c7cd98aad8bfb437f_ZG9jL2xpYnhzbHQtYXBpLnhtbA== 100644
--- a/doc/libxslt-api.xml
+++ b/doc/libxslt-api.xml
@@ -130,6 +130,7 @@
      <exports symbol='xsltCopyNamespace' type='function'/>
      <exports symbol='xsltNamespaceAlias' type='function'/>
      <exports symbol='xsltGetNamespace' type='function'/>
+     <exports symbol='xsltGetPlainNamespace' type='function'/>
     </file>
     <file name='numbersInternals'>
      <summary>Implementation of the XSLT number functions</summary>
@@ -1603,6 +1604,14 @@
       <arg name='name' type='const xmlChar *' info='the attribute name'/>
       <arg name='nameSpace' type='const xmlChar *' info='the URI of the namespace'/>
     </function>
+    <function name='xsltGetPlainNamespace' file='namespaces'>
+      <info>Find the right namespace value for this prefix, if needed create and add a new namespace decalaration on the node Handle namespace aliases and make sure the prefix is not NULL, this is needed for attributes.</info>
+      <return type='xmlNsPtr' info='the namespace node to use or NULL'/>
+      <arg name='ctxt' type='xsltTransformContextPtr' info='a transformation context'/>
+      <arg name='cur' type='xmlNodePtr' info='the input node'/>
+      <arg name='ns' type='xmlNsPtr' info='the namespace'/>
+      <arg name='out' type='xmlNodePtr' info='the output node (or its parent)'/>
+    </function>
     <function name='xsltGetProfileInformation' file='xsltutils'>
       <info>This function should be called after the transformation completed to extract template processing profiling informations if availble. The informations are returned as an XML document tree like &lt;?xml version=&quot;1.0&quot;?&gt; &lt;profile&gt; &lt;template rank=&quot;1&quot; match=&quot;*&quot; name=&quot;&quot; mode=&quot;&quot; calls=&quot;6&quot; time=&quot;48&quot; average=&quot;8&quot;/&gt; &lt;template rank=&quot;2&quot; match=&quot;item2|item3&quot; name=&quot;&quot; mode=&quot;&quot; calls=&quot;10&quot; time=&quot;30&quot; average=&quot;3&quot;/&gt; &lt;template rank=&quot;3&quot; match=&quot;item1&quot; name=&quot;&quot; mode=&quot;&quot; calls=&quot;5&quot; time=&quot;17&quot; average=&quot;3&quot;/&gt; &lt;/profile&gt; The caller will need to free up the returned tree with xmlFreeDoc()</info>
       <return type='xmlDocPtr' info='the xmlDocPtr corresponding to the result or NULL if not available.'/>
diff --git a/doc/libxslt-refs.xml b/doc/libxslt-refs.xml
index a68d16efdf0132425424817331d02a04e22eadf8_ZG9jL2xpYnhzbHQtcmVmcy54bWw=..c5d97df51bff407ba999789c7cd98aad8bfb437f_ZG9jL2xpYnhzbHQtcmVmcy54bWw= 100644
--- a/doc/libxslt-refs.xml
+++ b/doc/libxslt-refs.xml
@@ -235,6 +235,7 @@
     <reference name='xsltGetKey' href='html/libxslt-keys.html#xsltGetKey'/>
     <reference name='xsltGetNamespace' href='html/libxslt-namespaces.html#xsltGetNamespace'/>
     <reference name='xsltGetNsProp' href='html/libxslt-xsltutils.html#xsltGetNsProp'/>
+    <reference name='xsltGetPlainNamespace' href='html/libxslt-namespaces.html#xsltGetPlainNamespace'/>
     <reference name='xsltGetProfileInformation' href='html/libxslt-xsltutils.html#xsltGetProfileInformation'/>
     <reference name='xsltGetQNameURI' href='html/libxslt-xsltutils.html#xsltGetQNameURI'/>
     <reference name='xsltGetQNameURI2' href='html/libxslt-xsltutils.html#xsltGetQNameURI2'/>
@@ -627,6 +628,7 @@
       <ref name='xsltGetKey'/>
       <ref name='xsltGetNamespace'/>
       <ref name='xsltGetNsProp'/>
+      <ref name='xsltGetPlainNamespace'/>
       <ref name='xsltGetProfileInformation'/>
       <ref name='xsltGetQNameURI'/>
       <ref name='xsltGetQNameURI2'/>
@@ -826,6 +828,7 @@
       <ref name='xsltCopyNamespace'/>
       <ref name='xsltCopyNamespaceList'/>
       <ref name='xsltGetNamespace'/>
+      <ref name='xsltGetPlainNamespace'/>
       <ref name='xsltGetSpecialNamespace'/>
     </type>
     <type name='xmlXPathCompExprPtr'>
@@ -1097,6 +1100,7 @@
       <ref name='xsltGetCNsProp'/>
       <ref name='xsltGetNamespace'/>
       <ref name='xsltGetNsProp'/>
+      <ref name='xsltGetPlainNamespace'/>
       <ref name='xsltGetQNameURI'/>
       <ref name='xsltGetQNameURI2'/>
       <ref name='xsltGetSpecialNamespace'/>
@@ -1146,6 +1150,7 @@
       <ref name='xsltCopyNamespace'/>
       <ref name='xsltCopyNamespaceList'/>
       <ref name='xsltGetNamespace'/>
+      <ref name='xsltGetPlainNamespace'/>
     </type>
     <type name='xmlNsPtr *'>
       <ref name='xsltEvalXPathPredicate'/>
@@ -1407,6 +1412,7 @@
       <ref name='xsltGetExtData'/>
       <ref name='xsltGetKey'/>
       <ref name='xsltGetNamespace'/>
+      <ref name='xsltGetPlainNamespace'/>
       <ref name='xsltGetProfileInformation'/>
       <ref name='xsltGetSpecialNamespace'/>
       <ref name='xsltGetTemplate'/>
@@ -1567,6 +1573,7 @@
       <ref name='xsltCopyNamespaceList'/>
       <ref name='xsltFreeNamespaceAliasHashes'/>
       <ref name='xsltGetNamespace'/>
+      <ref name='xsltGetPlainNamespace'/>
       <ref name='xsltGetSpecialNamespace'/>
       <ref name='xsltNamespaceAlias'/>
     </file>
@@ -2039,6 +2046,7 @@
           <ref name='xsltDecimalFormatGetByName'/>
           <ref name='xsltFindElemSpaceHandling'/>
           <ref name='xsltGetNamespace'/>
+          <ref name='xsltGetPlainNamespace'/>
           <ref name='xsltGetSpecialNamespace'/>
           <ref name='xsltNextImport'/>
         </word>
@@ -2101,6 +2109,7 @@
       <letter name='H'>
         <word name='Handle'>
           <ref name='xsltGetNamespace'/>
+          <ref name='xsltGetPlainNamespace'/>
         </word>
       </letter>
       <letter name='I'>
@@ -2598,6 +2607,7 @@
           <ref name='xsltAddKey'/>
           <ref name='xsltAddStackElemList'/>
           <ref name='xsltGetNamespace'/>
+          <ref name='xsltGetPlainNamespace'/>
           <ref name='xsltGetSpecialNamespace'/>
         </word>
         <word name='added'>
@@ -2620,6 +2630,7 @@
           <ref name='xsltCopyNamespaceList'/>
           <ref name='xsltFreeNamespaceAliasHashes'/>
           <ref name='xsltGetNamespace'/>
+          <ref name='xsltGetPlainNamespace'/>
         </word>
         <word name='all'>
           <ref name='XSLT_REGISTER_FUNCTION_LOOKUP'/>
@@ -2817,6 +2828,7 @@
         </word>
         <word name='attributes'>
           <ref name='xsltAttrListTemplateProcess'/>
+          <ref name='xsltGetPlainNamespace'/>
           <ref name='xsltNamespaceAlias'/>
         </word>
         <word name='attrubute'>
@@ -3219,6 +3231,7 @@
         </word>
         <word name='create'>
           <ref name='xsltGetNamespace'/>
+          <ref name='xsltGetPlainNamespace'/>
           <ref name='xsltGetSpecialNamespace'/>
         </word>
         <word name='creating'>
@@ -3313,6 +3326,7 @@
         </word>
         <word name='decalaration'>
           <ref name='xsltGetNamespace'/>
+          <ref name='xsltGetPlainNamespace'/>
           <ref name='xsltGetSpecialNamespace'/>
         </word>
         <word name='decimal'>
@@ -4071,6 +4085,7 @@
         <word name='input'>
           <ref name='xsltApplyStripSpaces'/>
           <ref name='xsltGetNamespace'/>
+          <ref name='xsltGetPlainNamespace'/>
           <ref name='xsltGetSpecialNamespace'/>
           <ref name='xsltInitCtxtKeys'/>
           <ref name='xsltNewTransformContext'/>
@@ -4139,6 +4154,7 @@
           <ref name='xsltApplyStylesheetUser'/>
           <ref name='xsltFreeGlobalVariables'/>
           <ref name='xsltGetNamespace'/>
+          <ref name='xsltGetPlainNamespace'/>
           <ref name='xsltGetSpecialNamespace'/>
           <ref name='xsltParseGlobalParam'/>
           <ref name='xsltParseGlobalVariable'/>
@@ -4316,6 +4332,7 @@
         </word>
         <word name='make'>
           <ref name='xsltAllocateExtraCtxt'/>
+          <ref name='xsltGetPlainNamespace'/>
         </word>
         <word name='makes'>
           <ref name='xsltCheckWrite'/>
@@ -4475,6 +4492,7 @@
           <ref name='xsltCompileAttr'/>
           <ref name='xsltEvalTemplateString'/>
           <ref name='xsltGetNamespace'/>
+          <ref name='xsltGetPlainNamespace'/>
           <ref name='xsltGetSpecialNamespace'/>
           <ref name='xsltParseStylesheetImportedDoc'/>
           <ref name='xsltXPathFunctionLookup'/>
@@ -4673,20 +4691,6 @@
           <ref name='xsltSetGenericErrorFunc'/>
           <ref name='xsltSetTransformErrorFunc'/>
         </word>
-        <word name='output'>
-          <ref name='_xsltStylesheet'/>
-          <ref name='_xsltTransformContext'/>
-          <ref name='xsltApplyStylesheet'/>
-          <ref name='xsltApplyStylesheetUser'/>
-          <ref name='xsltDebugDumpExtensions'/>
-          <ref name='xsltGetNamespace'/>
-          <ref name='xsltGetSpecialNamespace'/>
-          <ref name='xsltParseStylesheetOutput'/>
-          <ref name='xsltProfileStylesheet'/>
-          <ref name='xsltRunStylesheet'/>
-          <ref name='xsltRunStylesheetUser'/>
-          <ref name='xsltSaveResultTo'/>
-        </word>
         <word name='own'>
           <ref name='xsltApplyStylesheetUser'/>
         </word>
@@ -4724,6 +4728,7 @@
         <word name='parent'>
           <ref name='xsltEvalTemplateString'/>
           <ref name='xsltGetNamespace'/>
+          <ref name='xsltGetPlainNamespace'/>
           <ref name='xsltGetSpecialNamespace'/>
           <ref name='xsltParseStylesheetImportedDoc'/>
         </word>
@@ -4940,6 +4945,7 @@
           <ref name='xsltCheckExtPrefix'/>
           <ref name='xsltFormatNumberConversion'/>
           <ref name='xsltGetNamespace'/>
+          <ref name='xsltGetPlainNamespace'/>
           <ref name='xsltGetQNameURI'/>
           <ref name='xsltGetQNameURI2'/>
           <ref name='xsltGetSpecialNamespace'/>
@@ -5207,6 +5213,7 @@
         </word>
         <word name='right'>
           <ref name='xsltGetNamespace'/>
+          <ref name='xsltGetPlainNamespace'/>
           <ref name='xsltGetSpecialNamespace'/>
           <ref name='xsltParseStylesheetProcess'/>
         </word>
@@ -5659,6 +5666,7 @@
         </word>
         <word name='sure'>
           <ref name='xsltAllocateExtraCtxt'/>
+          <ref name='xsltGetPlainNamespace'/>
         </word>
         <word name='system-property'>
           <ref name='xsltSystemPropertyFunction'/>
@@ -5767,38 +5775,6 @@
           <ref name='xsltApplyOneTemplate'/>
           <ref name='xsltEvalAttrValueTemplate'/>
         </word>
-        <word name='this'>
-          <ref name='XSLT_DEFAULT_URL'/>
-          <ref name='XSLT_DEFAULT_VENDOR'/>
-          <ref name='_xsltDocument'/>
-          <ref name='_xsltTemplate'/>
-          <ref name='_xsltTransformContext'/>
-          <ref name='xslHandleDebugger'/>
-          <ref name='xsltAddStackElemList'/>
-          <ref name='xsltApplyOneTemplate'/>
-          <ref name='xsltCheckExtPrefix'/>
-          <ref name='xsltCopyTextString'/>
-          <ref name='xsltDoSortFunction'/>
-          <ref name='xsltExtInitFunction'/>
-          <ref name='xsltExtShutdownFunction'/>
-          <ref name='xsltGetExtData'/>
-          <ref name='xsltGetNamespace'/>
-          <ref name='xsltGetSpecialNamespace'/>
-          <ref name='xsltGetTemplate'/>
-          <ref name='xsltRegisterAllElement'/>
-          <ref name='xsltRegisterAllFunctions'/>
-          <ref name='xsltRegisterExtModule'/>
-          <ref name='xsltRegisterExtModuleFull'/>
-          <ref name='xsltSetGenericDebugFunc'/>
-          <ref name='xsltSetGenericErrorFunc'/>
-          <ref name='xsltSetSecurityPrefs'/>
-          <ref name='xsltSort'/>
-          <ref name='xsltStyleExtInitFunction'/>
-          <ref name='xsltStyleExtShutdownFunction'/>
-          <ref name='xsltStyleGetExtData'/>
-          <ref name='xsltUnregisterExtModule'/>
-          <ref name='xsltXPathGetTransformContext'/>
-        </word>
         <word name='those'>
           <ref name='xsltEvalAttrValueTemplate'/>
           <ref name='xsltFormatNumberConversion'/>
@@ -5919,6 +5895,7 @@
           <ref name='xsltGetDefaultSecurityPrefs'/>
           <ref name='xsltGetNamespace'/>
           <ref name='xsltGetNsProp'/>
+          <ref name='xsltGetPlainNamespace'/>
           <ref name='xsltGetSpecialNamespace'/>
           <ref name='xsltGetUTF8Char'/>
           <ref name='xsltRegisterExtras'/>
@@ -6019,8 +5996,6 @@
           <ref name='xsltXPathVariableLookup'/>
         </word>
       </letter>
-    </chunk>
-    <chunk name='chunk9'>
       <letter name='w'>
         <word name='want'>
           <ref name='xsltEvalUserParams'/>
@@ -6149,6 +6124,8 @@
           <ref name='xsltSaveResultToString'/>
         </word>
       </letter>
+    </chunk>
+    <chunk name='chunk9'>
       <letter name='x'>
         <word name='xmlAttrPtr'>
           <ref name='xsltAttrListTemplateProcess'/>
@@ -6329,8 +6306,8 @@
       <chunk name='chunk5' start='j' end='n'/>
       <chunk name='chunk6' start='o' end='p'/>
       <chunk name='chunk7' start='q' end='s'/>
-      <chunk name='chunk8' start='t' end='v'/>
-      <chunk name='chunk9' start='w' end='z'/>
+      <chunk name='chunk8' start='t' end='w'/>
+      <chunk name='chunk9' start='x' end='z'/>
     </chunks>
   </index>
 </apirefs>
diff --git a/libxslt/xsltwin32config.h b/libxslt/xsltwin32config.h
index a68d16efdf0132425424817331d02a04e22eadf8_bGlieHNsdC94c2x0d2luMzJjb25maWcuaA==..c5d97df51bff407ba999789c7cd98aad8bfb437f_bGlieHNsdC94c2x0d2luMzJjb25maWcuaA== 100644
--- a/libxslt/xsltwin32config.h
+++ b/libxslt/xsltwin32config.h
@@ -23,10 +23,10 @@
  *
  * the version string like "1.2.3"
  */
-#define LIBXSLT_DOTTED_VERSION "1.1.6"
+#define LIBXSLT_DOTTED_VERSION "1.1.7"
 
 /**
  * LIBXSLT_VERSION:
  *
  * the version number: 1.2.3 value is 1002003
  */
@@ -27,13 +27,13 @@
 
 /**
  * LIBXSLT_VERSION:
  *
  * the version number: 1.2.3 value is 1002003
  */
-#define LIBXSLT_VERSION 10106
+#define LIBXSLT_VERSION 10107
 
 /**
  * LIBXSLT_VERSION_STRING:
  *
  * the version number string, 1.2.3 value is "1002003"
  */
@@ -34,10 +34,10 @@
 
 /**
  * LIBXSLT_VERSION_STRING:
  *
  * the version number string, 1.2.3 value is "1002003"
  */
-#define LIBXSLT_VERSION_STRING "10106"
+#define LIBXSLT_VERSION_STRING "10107"
 
 /**
  * WITH_XSLT_DEBUG:
diff --git a/python/libxsltclass.txt b/python/libxsltclass.txt
index a68d16efdf0132425424817331d02a04e22eadf8_cHl0aG9uL2xpYnhzbHRjbGFzcy50eHQ=..c5d97df51bff407ba999789c7cd98aad8bfb437f_cHl0aG9uL2xpYnhzbHRjbGFzcy50eHQ= 100644
--- a/python/libxsltclass.txt
+++ b/python/libxsltclass.txt
@@ -107,6 +107,7 @@
     copyNamespace()
     copyNamespaceList()
     namespace()
+    plainNamespace()
     specialNamespace()
 
     # functions from module templates