RE: [xsl] extra data after xsl transformation

Subject: RE: [xsl] extra data after xsl transformation
From: "poppe chris" <pc_poppe@xxxxxxxxxxx>
Date: Sat, 15 May 2004 09:49:04 +0200
Hello,

im having a little problem, not really a problem, more like an annoying fact,

Ive managed to create an xslt stylesheet (is it xslt stylesheet or xsl stylesheet?) that transforms my xml documents the way i want to but during transformation some extra output is generated into the result xml wich i dont want

For example in my original xml i have a element like this:

- <SUBSTREAM>
 <lengthbit>0</lengthbit>
 <stuff>20</stuff>
 <two>200</two>
 <SUBSTREAM_interior>2901 5320</SUBSTREAM_interior>

and the transformation succesfully changes the stuff, two and substream_interior elements into the following

- <SUBSTREAM xmlns:m="MCTF">
 <lengthbit>0</lengthbit>
 <stuff>19</stuff>
 <two>136</two>
 <SUBSTREAM_interior xml:space="preserve">2901 5000</SUBSTREAM_interior>

the problem is the 'xmlns:m="MCTF" and the xml:space="preserve" parts wich are introduced into the resulting xml file
is there any way to prevent these additional lines without changing my functionality?


here are links to a full xml file, the xsl transformation and a transformed xml file
http://www10.brinkster.com/cpoppe/misc/coast.xml
http://www10.brinkster.com/cpoppe/misc/MCTFbitrateglobal.xsl
http://www10.brinkster.com/cpoppe/misc/coast_bit.xml


sincerely,
Chris

_________________________________________________________________
Op zoek naar je droomhuis? http://www.msn.be/wonen

Current Thread