View Single Post
 
Old July 8th, 2010, 06:39 AM
Martin Honnen Martin Honnen is offline
Friend of Wrox
Points: 6,676, Level: 34
Points: 6,676, Level: 34 Points: 6,676, Level: 34 Points: 6,676, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2007
Location: Germany
Posts: 1,243
Thanks: 0
Thanked 245 Times in 244 Posts
Default

Put the namespace declaration on the xsl:stylesheet element e.g.
Code:
<xsl:stylesheet
  xmns:xsl="http://www.w3.org/1999/XSL/Transform"
  version="1.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  ...
</xsl:stylesheet>
As for xsi:noNamespace, that is simply an attribute so add that as a literal attribute on the literal result element, when you create the "dokument" element.
__________________
Martin Honnen
Microsoft MVP (XML, Data Platform Development) 2005/04 - 2013/03
My blog
The Following User Says Thank You to Martin Honnen For This Useful Post:
anarleti (July 8th, 2010)