[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: RE: spaces in output html
Thanks Mike, After you told me that option [b] was the way to go I ended up getting it to work by using <preserve-space="*" />. BTW - I am using both XT and MSXML3 Cheers, JasonP. Date: Wed, 30 Jan 2002 09:13:27 -0000 From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Subject: RE: spaces in output html [b] should work. [a] and [c] shouldn't, because all you've done is to invent elaborate ways of creating a whitespace-only text node in the styelsheet, which the XSLT processor will always ignore. If [b] doesn't work, then one possible reason is that you are using Microsoft's MSXML3 and built the stylesheet without using preserveSpace=true, so the whitespace within the <xsl:text> element will have been eliminated by the DOM parser before the XSLT processor gets to see it. Mike Kay 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
|