Re: [xsl] preserve structure of xml?

Subject: Re: [xsl] preserve structure of xml?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 18 Jul 2003 11:05:35 +0100
  For example the <xsl:output indent="yes"/> is ignored by msxml, so your
  indenting is gone.
  That doesn't explain why everything is on one line though......


No that isn't why indenting goes with msxml if you copy the source.
In that case the indentation that was there should be copied so the XSLK
system shouldn't need to add further white space to achieve indentation.

The reason it is there is because by default msxml doesn't conform to
the XML spec, and discards white space before XSLT gets a chance to copy
it.

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


Current Thread