Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: 'namespaceuri()' is an unknown XSLT function [Thread Next] Re: 'namespaceuri()' is an unknown XSLT functionTo: NULL Date: 1/5/2006 11:44:00 AM IvarZap wrote: > <xsl:template match="text() | > *[namespace-uri()='http://www.w3.org/1999/xhtml']" mode="RichText"> That looks like a bug in XslTransform. It doesn't like namespace-uri() in match attribute somehow. In fact you can use instead <xsl:template match="text() | xhtml:*" mode="RichText"> but you said it's generated stylesheet so that's not a solution. Then consider moving to .NET 2.0. XslCompiledTransform in .NET 2.0 is much better XSLT engine. Alternatively you can modify stylesheet after it's generated or before executing it to workaround this particular bug. E.g. load it into XmlDocument and make above modification. -- Oleg Tkachenko [XML MVP, MCAD] http://www.XmlLab.Net | http://www.XLinq.Net | http://blog.tkachenko.com | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
