Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: XSL Transformation on an XML document with namespace >Thread Next - Re: XSL Transformation on an XML document with namespace Re: XSL Transformation on an XML document with namespaceTo: NULL Date: 10/3/2006 10:50:00 AM Yeah, guess I should be more detailed. Sorry. I'm using XslCompiledTransform to transform my XML file. The XSLT-file retrieves values using xsl:value-of. The problem is that nothing is returned. The XML-file contains a namespace definition: <root xml:ns="http://www.namespace.com/file.xsd"> </root> If I remove the xml:ns part, the transformation works okey. "Martin Honnen" wrote: > > > Bjørn Terje Svennes wrote: > > > I'm not able to XSL transform an XML document that has a namespace. If I > > remove the namespace the transformation works. But removing the namespace > > impacts other parts of the system. Is there no way to specify translation > > with namespaces? > > It is certainly possible, if you don't provide any details then I can > only guess that the problem is a default namespace declaration in the > XML document, see > <http://www.faqts.com/knowledge_base/view.phtml/aid/34022/fid/616> > for how to solve that. > > > -- > > Martin Honnen --- MVP XML > http://JavaScript.FAQTs.com/ > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
