|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: preserve structure of xml?
> Actually, I found the problem myself. I had indent="no" in my stylesheet, so > of course it behaved as it did. With indent="yes" it works as expected. I can only repeat, that with indent="no" you should still have all the white space used in the source for indentation copied to the result by default. If it isn't being copied, then either your stylesheet is removing it, or you are seeing the non-conforming behaviour of msxml's parser. Your subject line is "preserve". Note that indent="yes" does not _preserve_ anything, it will add white space according to its own rules depending on the structure of the result tree, it will not preserve (or be influenced by in any way) anything in the original input document. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








