[xsl] preserve structure of xml?

Subject: [xsl] preserve structure of xml?
From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx>
Date: Fri, 18 Jul 2003 09:12:58 +0000
Hello all,

Don't know if this is vendor specific or is solvable using xml.

I am transforming an xml document to another xml document. During the transformation I loose all structure so that I only get one single line except for the last bit where I get some 3 lines before the last 2 end tags (</body></html> at the moment).

I am using output-method="xml" for the transformation.

I remembered something about using
<xsl:text>
</xsl:text>
for making an empty line, but it didn't work.

I also think I have heard about something called "preserve-whitespace" but I can't see, to place it the right place if there is something called this. The intellisence on my software does not recognize this, so if I remember correctly, then I am probably using it wrong.

I am using msxml for transformation.

Thank you very much

Ragulf Pickaxe :)

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread